cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Harry_G
Kudo Kingpin
Kudo Kingpin

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

@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
ScottShearer
Super User
Super User

@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

@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.

@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

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
New Member

@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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,850)