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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,681)