cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Norms
Frequent Visitor

When an item is modified, start approval and update item approval status

Hi all,

 

I have stuck with the infinite trigger loop, and haven't found a solution how to stop this.

What is the best practice to setup this, to avoid the looping?

 

Norms_0-1619448542060.png

 

 

Setup I have: User changes column value to completed, this triggers the flow for approval, if approved, this them updates approval status to Yes (Yes/No), but this keeps to re-trigger the flow over and over once approved.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

The way to handle this is to add a trigger condition to the flow so it only triggers when the column value is "Completed".  Then have the flow change the value to something like "Finished" just before it Updates the approval status.  That way the flow will only trigger when a user changes the column to "Completed"



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

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

The way to handle this is to add a trigger condition to the flow so it only triggers when the column value is "Completed".  Then have the flow change the value to something like "Finished" just before it Updates the approval status.  That way the flow will only trigger when a user changes the column to "Completed"



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

View solution in original post

Norms
Frequent Visitor

Hi,

 

I created another column and setup the rule withing the same Update Item card and that did the trick.

Shame Microsoft have not design this better, as default rule.

 

Thanks

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,151)