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

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.760 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.760 students) : English | Português

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.760 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.760 students) : English | Português

Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,661)