web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Cant use a condition c...
Copilot Studio
Unanswered

Cant use a condition comparing 2 variables

(0) ShareShare
ReportReport
Posted on by 30

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,

Categories:
I have the same question (0)
  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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.

     

  • HaimOz Profile Picture
    30 on at

    Thanks @renatoromao , just added an idea.

    Feel free to back me up 😉

    https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Allow-using-2-variables-in-PVA-condition/idi-p/576979#M249

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    I already voted for your idea! 🙂

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

  • HaimOz Profile Picture
    30 on at

    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.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard