cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dual Super User
Dual Super User

Trigger conditions for Flow now available

Hi All,

 

Check this out !!!

Trigger Conditions - we can now specify the trigger condition for the Flow - save Flow runs 🙂

Condition based Flow Triggers 🙂

 

My Vlog on Flow Trigger Conditions - https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Microsoft-Flow-Trigger-Conditions/m-p...

 

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Trigger conditions for Flow now available

7 REPLIES 7
Highlighted
Frequent Visitor

Re: Trigger conditions for Flow now available

Awesome! Next question, what format does the trigger condition take? 

Highlighted
Frequent Visitor

Re: Trigger conditions for Flow now available

ok, think I've got it, the format needed to be:

@equals(triggerBody()?.Status, 'Pending Project Manager Approval')

 It at least saved with that format, now for testing...

Highlighted
Dual Super User
Dual Super User

Re: Trigger conditions for Flow now available

Highlighted
Frequent Visitor

Re: Trigger conditions for Flow now available

Thanks @RezaDorrani, that was useful 🙂

Highlighted
Community Support
Community Support

Re: Trigger conditions for Flow now available

Hi @RezaDorrani ,

 

Thank you for your sharing, the Trigger conditions for Flow is very useful and we would benifit from it.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Super User
Super User

Re: Trigger conditions for Flow now available

Has anyone located the official Microsoft Docs for Trigger Conditions? If so, will you post a link up?


Thanks

Highlighted
Frequent Visitor

Re: Trigger conditions for Flow now available

Thanks Reza!!!  It took a little tweaking to get it to work for different types of fields, but your video walked me through it and I was not only able to make it work for my application.  Not only that, I found that I could enclose the equals string inside a Not() to get the inverse effect, where every condition of a choice field would run the workflow except one, which was the default setting at the end of the workflow.  In my application, the user has to select a choice in the editing of the list item, which invoked a switch case in the workflow.  I reset it to the default state when I make my field updates.  Using this process and your tip on adding a trigger condition, I have now made my workflow only run once.  Thanks again!  This will be very useful going forward.

 

Dave

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,525)