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

Community site session details

Session Id :
Power Automate
Unanswered

Power FX

(1) ShareShare
ReportReport
Posted on by
how to check if condition in power automate desktop flow when power FX is enable, what will be the method to write a code in when FX Code is enable 
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,163 Super User 2025 Season 2 on at
    Power FX
    You need to check it with Power Fx syntax. Like this: 

    =ButtonPressed = "OK"
     Change the "OK" to be "Open" if that is the ButtonPressed variables output (like when using select file dialog -action")

    Other way:
     

    =If(ButtonPressed = "OK", true, false)


     

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard