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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Users online (3,158)