Hi All,
I am trying to setup an Approval workflow where by the approver can send back the request to the requestor for revision. upon revision the request should land back at the approvers desk and this process can continue till it is approved by the approver.
how can we best accomplish this in power flow, any suggestions/feedback is appreciated.
@Dhurjati you could use initialize variable 'approved', and do until loop with Approval action inside do until loop. Do until loop with run until value of 'approved' is not true. See below screenshot
To get through do until time limit refer to this post https://powerusers.microsoft.com/t5/I-Found-A-Bug/Do-Until-only-works-for-1-hour/td-p/59849
Hi @Ann
So everything other than the initialize variable should be under the do until loop, please correct me if i am wrong.
i tried the DO Until loop but was not using a variable, was trying to play with the Status column.
@Dhurjati initialize variable will be before the do until loop, in the beginning of the flow. Also change the limits of do until action as it will timeout in 1 hour.
Hi @annajhaveri
As you suggested i have use the do while loop, but its strange that even if i am clicking on the approve button the loop is not existed and the approval workflow triggers again.
i have added the flow for your kind perusal, can u pls check and let me know when am i going wrong.
Found the culprit.
The COUNT in the loop condition is the issue, the loop will run as many times it is specified there, in the image below i have specified 2, so the loop ran twice and then existed.
is there are away to by pass this COUNT and let the loop run based on the condition.
@Dhurjati you can provide count as some maximum number the loop will exit when the condition is true. One mistake i made when i provide you screenshots, you need to check value for true instead of false, in the do until condition, so please change that.
What type of condition do you want to make the loop run? The condition where you are checking value of approved variable on do until is the condition, you can add multiple conditions as well using advanced mode.
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 |
---|---|
74 | |
27 | |
18 | |
16 | |
15 |
User | Count |
---|---|
138 | |
44 | |
32 | |
32 | |
29 |