I have a business requirement for approvers to be able to edit an item while the approval flow is in progress. An approver decides to make changes to a document or page during the approval process, a do while will wait for a flag that Approver A has made edits and continue with the approval process. There could be Approver A, B, C, D, and E. This could happen mulitple times. Is there a way to allow for edits and continue the Flow? It can't be published until it goes through this process.
Let's see if I understood your needs. Everytime an approver make changes to the document, the current approval process shall be cancelled, and a new approval process shall start, right?
Also, the overall aproval process relies on all aprovers explicitly approving the last version of the document, right?
If an approver decides to make edits, the flow needs to stop, let them make edits, and push it to the next approver. Then, if the next approver decides to make edits, the flow stops, the approver makes edits, then starts another flow that moves to the next approver. Right now I am running into the issue with too many nested conditions.
Did you consider implementing State Machines in Flow? Could this suggestion fit your requirements?
Here you are two excellent resources describing this approach. There is also a Template available
Hope this helps
@efialttes Thank you for this information. I will try it out in the future. The issue is that the flow must end in order to edit the document on which the current flow is running. Then start again from that point in the flow. I just found out that we will be developing in a Government environment that does not have the approval action available yet. Therefore, I will need to use Send an Email with Options and Set Content Approval. I am not sure if this allows for editing during Flow.
Hi @GoGorilla ,
It seems that you could create a Flow by referring to the configuration that establishes the sequential approvals.
The next approval can only be performed after the last Approver edit is completed and the approval is completed.
Thank you for your response. Although that is a great article to keep in the vault, my users need to edit the actual document, not just have the comments and approval outcome updated.
I have a similar issue. I have a document library with versioning and require content approval enabled. I have a two staged approval flow configured where the persons manager has to approve a document and once approved, a department manager has to approve the document also. Durring the process, either approver may want to make a change to the document but still approve it. When this happens, the flow will fail because the document changed back to Draft. How would you get around this?
One workaround is to check whether the document's version number has changed right after the approval action (inserting a new "Get Item" action and then comparing version numbers from before and after approval action). If so, the flow is terminated, emailing the user (and the approver) that the doc may have comments or changes that need to be reviewed and considered before re-submitting the doc for approval.
...Other solutions highly welcome
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!