cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

SharePoint List: Item Created Or Modified: Flow Runs Twice

Flow info:

 

When an existing list item is modified from "Open" to "Closed" it triggers a "Approval" flow using "When An Item Is Created Or Modified". There are a large number of people who can change the list from "Open" to "Closed". 

 

The problem occurs because the flow updates the SharePoint list with the approver's response, response date and comments. When the flow does this it triggers another flow because it is modifying the list a second time automatically and, for the second time, reads that it's "Closed" and sends out the approval. 

 

I found a work-around by setting the default text in the "Open/Closed" field to "Pending" and I run a condition to check for "Pending" (If the flow sees "Pending" it continues, if the flow sees "Approved" or "Rejected" it terminates). Only downside is that the flow has to run twice for every instance. 

 

Any ideas on how to prevent the second flow from running?

 

Any ideas for a workaround?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: SharePoint List: Item Created Or Modified: Flow Runs Twice

Hi @CP153319,

 

Thanks for feedback.

 

I am afraid that you have to use the workaround for this issue. I have seen a similar request on Flow Ideas Forum, please vote the idea at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Do-not-retrigger-the-flow/idi-p/70443

 

 

Best regards,

Mabel Mao

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

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: SharePoint List: Item Created Or Modified: Flow Runs Twice

Hi @CP153319,

 

Thanks for feedback.

 

I am afraid that you have to use the workaround for this issue. I have seen a similar request on Flow Ideas Forum, please vote the idea at here:

https://powerusers.microsoft.com/t5/Flow-Ideas/Do-not-retrigger-the-flow/idi-p/70443

 

 

Best regards,

Mabel Mao

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

View solution in original post

Highlighted
Administrator
Administrator

Re: SharePoint List: Item Created Or Modified: Flow Runs Twice

Hello, @CP153319!

 

If you have already posted your idea to the Flow Community Ideas Forum then you need to post the URL to your idea’s thread as a reply to this thread and then "Accept as Solution" on that reply so other users may vote for your Flow Idea and identify the information easily.

 

Thank You!

 

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Highlighted
Advocate IV
Advocate IV

Re: SharePoint List: Item Created Or Modified: Flow Runs Twice

Thank you for the direction. 

 

I have not posted my idea and there is no solution to this problem yet. 

 

Thank You!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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 (12,059)