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

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

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

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities
Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

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