cancel
Showing results for 
Search instead for 
Did you mean: 

SharePoint Conditional trigger

It would be very powerfull to have a trigger that starts conditionally.

 

For example:

I don't want a Flow to always trigger when an item is modified. Only when a specific condition is met, like Status = Completed

 

conditional trigger.png

 

I can now do that by using the When an existing item is modified trigger and setting a condition after the trigger, but it would be nicer that you can configure your condition within the trigger.

Status: New
Comments
Regular Visitor

THis is solved. we now have conditional triggers https://www.youtube.com/watch?v=d4DlqZrpCjc&t=74s


@rikdekoning wrote:

It would be very powerfull to have a trigger that starts conditionally.

 

For example:

I don't want a Flow to always trigger when an item is modified. Only when a specific condition is met, like Status = Completed

 

conditional trigger.png

 

I can now do that by using the When an existing item is modified trigger and setting a condition after the trigger, but it would be nicer that you can configure your condition within the trigger.




Kudo Collector
Regular Visitor

You can already set Trigger Conditions on Flows:

https://www.bythedevs.com/post/working-with-trigger-conditions-in-ms-flow

https://www.timlinenterprises.com/microsoft-power-automate-flow-trigger-conditions/

 

All of the Trigger Conditions must evaluate to True or the Flow will not start.

 

I also found this article useful for working out how to define the Trigger Conditions:

https://sharepains.com/2018/04/20/microsoft-flow-getting-your-sharepoint-field-values/

Frequent Visitor

I wonder why this is still marked as "New" ... 🤔

 

However, thanks alot for providing this functionality, great feature!

Anonymous
Not applicable

In the trigger conditions, we can also use a lot of other functions to define more conditions:

  • Starting a flow when a column is not empty: @not(empty(triggerBody()?['Column_Name']))
  • Combine multiple conditions: @or()
  • ...

See this post about advanced trigger conditionshttps://www.inspiribytes.com/power-automate/when-an-item-or-file-is-modified-trigger-conditions/

Advocate V

Trigger conditions do exist now! Also, there is a newish trigger action named "When an item or file is modified". That in itself is very useful but you can also use it in conjunction with another action named "Get changes for an item or file" to check for changes to specific list columns. 

https://docs.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/sharepoint-connector-ac...