cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Harry_G
Level 10

Trigger Flow on Condition

I want to Trigger flow Conditionally when item is modified. Has flow some Action like Nintex o trigger them conditionally?

In Flow I only able to do it by Adding Start Workflow when item is created or Modified and than put a condition to check whether is true or not. but i have to check it on triggering not after triggering. Any solution or help would be appreciated . Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Trigger Flow on Condition

@Harry_G:

 

The short answer to your question is no - there is no action that fires only when a SharePoint item has been modified.  I believe this has been suggested already in Flow Ideas - you may want to cast a vote in favor.

 

As you know, when you create a Flow from scratch there is no SharePoint trigger that fires only when an item is modified - the only option is to select the trigger that fires when an item is created or modified.

 

However, if you begin the Flow creation process form your list and select "Create a Flow" from the menu, you are presented with an option to create a Flow when an item is modified:

 

Modified1.jpgModified2.jpg

 

Please note that the description says "when modified", the "help" indicates that it fires when created or modified.

I ran a quick test and the Flow does run upon creation as well as when updated.

 

If this answers your question, please mark your post as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

5 REPLIES 5
Highlighted
Super User
Super User

Re: Trigger Flow on Condition

@Harry_G:

 

I assume that you are referring to a SharePoint item.  If so, here is a technique that you can use:

  1. At the top of your Flow immediately after your trigger, compare the created and modified columns
    1. If they are the same, the item is new
    2. If they are not the same, the item has been modified and you can take action as appropriate

ModifiedOnly.jpg

 

If this addresses your issue, please mark your question as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Harry_G
Level 10

Re: Trigger Flow on Condition

@ScottShearer You are right and I also tried this technique but the main issue is that I have approx 50 workflows which runs on item's modified. If item is modified in one flow the other 49 flow will trigger to just check the condition which I have to prevent. I only want to know that there is any kind of solution like Nintex, in which we trigger workflow conditionally not after triggering we check condition.

Super User
Super User

Re: Trigger Flow on Condition

@Harry_G:

 

The short answer to your question is no - there is no action that fires only when a SharePoint item has been modified.  I believe this has been suggested already in Flow Ideas - you may want to cast a vote in favor.

 

As you know, when you create a Flow from scratch there is no SharePoint trigger that fires only when an item is modified - the only option is to select the trigger that fires when an item is created or modified.

 

However, if you begin the Flow creation process form your list and select "Create a Flow" from the menu, you are presented with an option to create a Flow when an item is modified:

 

Modified1.jpgModified2.jpg

 

Please note that the description says "when modified", the "help" indicates that it fires when created or modified.

I ran a quick test and the Flow does run upon creation as well as when updated.

 

If this answers your question, please mark your post as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Super User
Super User

Re: Trigger Flow on Condition

I want to update my answer to this question. Using the created and modified dates is not reliable.  Please see my blog post for a better solution that leverages trigger filters.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
VidhyaV
Level: Power Up

Re: Trigger Flow on Condition

@Harry_G ,

 

Yes, you can trigger a flow based on conditions.

All you need to do is,

Open the settings of your trigger action,

 

Settings.PNG

 

Click "Add" under the "Trigger Conditions" to add additional Conditions for your flow trigger.

 

AddCondition.PNG

 Hope this helps you. 🙂

Thanks.

 

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,259)