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 - Power Automate Desktop
Suggested answer

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,122 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard