Hi Community,
I have an expense form which will first create an item on the SP list, after which another action to enter the total claim amount would update the same item on the SP list
Below is the flow that I have used. I have found 3 scenarios while using this flow.
1) Update on SP does not trigger flow.
2) Update on SP to trigger flow would result in the preceding item which has been approved (i.e. a closed item) to be triggered in a flow again.
3) Update on SP would trigger the same item and preceding item to go through numerous repeated flow cycles. For e.g. item 18 has been approved and is a done item. I submit item 19 for approval. Items 18 and 19 would be triggered in a flow. Even approving them (i.e. closing the items), items 18 and 19 would come back again for approval, and then again for a 3rd time.
Kindly advise what I should correct in the flow. Thank you.
Solved! Go to Solution.
Hi @elleeyl ,
For the first problem, there may be a delay in triggering the Flow, but the Flow will be triggered normally eventually.
For the second question, When an item is created or modified will monitor all items, regardless of whether the current item has been approved, as long as it is changed, Flow will be triggered. If you want to prevent the Flow from being triggered repeatedly, you can use the condition to determine whether the Approval Status is already Approved. If it is, then the Approval action is no longer performed.
The third question seems similar to the second, please refer to the method above.
Best Regards,
Hi @elleeyl
Is there anywhere in the Power Automation where you update the same list of the trigger? In the screenshot you provided, this doesn't happen, but it could happen after. If this is the case, you may be generating — a cycle hence your problems. "When an item is created or updated" then you update it in the same Power Automation; the same Power Automation will be triggered because something was, in fact, triggered.
In the first part trying to combine the calculation of the total claim and insert of the SharePoint in the same action. This way you'll only have an insert action and you can change the trigger of the following Power Automation to "When an item is created"
Makes sense or I confused you even more?
If something doesn't make sense or you need further help please let me know and I'll help you.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @elleeyl ,
For the first problem, there may be a delay in triggering the Flow, but the Flow will be triggered normally eventually.
For the second question, When an item is created or modified will monitor all items, regardless of whether the current item has been approved, as long as it is changed, Flow will be triggered. If you want to prevent the Flow from being triggered repeatedly, you can use the condition to determine whether the Approval Status is already Approved. If it is, then the Approval action is no longer performed.
The third question seems similar to the second, please refer to the method above.
Best Regards,
Thanks @v-bacao-msft , I have set up a condition and the updating cycle has stopped.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
3 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |