Forum Discussion
Approved Flow Still Running After Approval
Hi,
I have a flow the launches an approval when an item is added to a document library. In some cases it seems as if an item is approved but the flow keeps running. Here is the section I am focused on
Next is a running approval that is has not moved off Wait for and approval even though it has been approved . How do I know this, so maybe I am making an assumption but when successful the flow moves a copy of the item to a new library ( call it LibB) and deletes the existing item out of the library ( call it LibA) that the flow runs on. Here is that section.
For one of these "still running but approved items" The Approver will get a 404 message for the link and when I look in LibA the item has been delete and a copy I is now in LibB. But the approval flow remains in the Approvers - Approval Center. The only thing I can think of is maybe I am using the wrong type of item reference and one flow is acting on more than one library item. In both the copy and delete actions I am using the Identifier to reference the item in LibA. But then again the flow is successful on some item not others.
Another strange thing is the Do until loop is greyed out on these still running flows as seen below.
If I compare this to a successful flow you can see that the Do until and Wait for an approval sections have run.
So I am just making an assumption here that the "grayed out" Do until indicates it was never active. If that is accurate how could that happen as the sections are run in parallel. If the Wait for approval is running the Do until must run.
The is not the issue I just find it strange and could be related as in the successful flow the Do until along with the Wait for approval show a run status.
Does anyone have any idea on what is going on or guidance on troubleshooting the issue.
- MarceloflalvesCopper Contributor
I wondering if you had an answer for the issue. I am facing similar situation with an multiple approval process. All the other approvals are running perfect except for one specific approver.
The approver`s response has been captured in a list but the flow keep the wait for an approval tasks running forever.
- Qai_Fung_LeeCopper Contributor