cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HaimOz
Advocate III
Advocate III

Cant use a condition comparing 2 variables

I'm trying to create a condition that checks if {x}Var2 is equal to {x}Var1 (entered at an earlier stage within the same topic) in PVA.

It seems there is a limitation (unless I'm missing something) as I'm only allowed to use a condition with Var against a value.

example of what PVA allows me to do:

Condition: {x}Var2 is equal to 10

 

example of what I want to do (and can't):

Condition: {x}Var2 equals {x}Var1

 

Any idea on how to do the above?

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @HaimOz ,

 

We have some limitations using the Condition action.

You can suggest the idea here: https://powerusers.microsoft.com/t5/Ideas/ct-p/pva_ideas

Yesterday I submitted one idea related to "or" condition.

 

One workaround is to call Power Automate to validate the condition using two variables and return the response to PVA.

 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

5 REPLIES 5
renatoromao
Super User
Super User

Hi @HaimOz ,

 

We have some limitations using the Condition action.

You can suggest the idea here: https://powerusers.microsoft.com/t5/Ideas/ct-p/pva_ideas

Yesterday I submitted one idea related to "or" condition.

 

One workaround is to call Power Automate to validate the condition using two variables and return the response to PVA.

 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

I already voted for your idea! 🙂

During the validation of your idea, you can use my suggestion (Power Automate).


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

True... tried and it works. Will use it.

Its a shame though that I have so many Actions going out to PA because PVA doesn't allow so many things (yet).

I'm sure it adds to the administrative complexity (maintaining so many flows and also has a performance implications I'll witness down the track.

Yes, and consuming a high part of your Power Automate workflows runtimes.

But I think that Microsoft is improving a lot this product, as soon will be great to work only with PVA 🙂


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (1,982)