Skip to main content

Notifications

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 
  • Suggested answer
    eetuRobo Profile Picture
    eetuRobo 2,682 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard