Question

I have developed some flow in MS flow for managing some SP lists.

MS flow sends an approval email to the admin for a change.If users keep editing the item the admin recives more emails. What happens if the admin do not approve them in order?

My flow is as below:

enter image description here enter image description here I have noticed that if the admin approves them out of chronolocal order, no issue appears, and every approved item becomes the most recent one even if it is not the latest one. Is there any way to override this is flow?

I have noticed that if the admin approve the latest version but reject one of the earlier email my flow sotcks in a loop (i.e. shown bythe red arrow)? How can I solve this?

Was it helpful?

Solution

I don’t think you should leave the item editable while the last approval is in process. The flow itself does not lock or identify the status of the item, as you have already known, so it starts a new instance every time it is triggered.

These flow instances run independently and cannot override the actions of another, it just changes the item as designed in the process. So the last approved version becomes the latest version.

And to avoid the situation you describe, you can either manipulate with the item-level or user permission (as we previously discussed in this post), or you can check out another post for idea of auto-rejection.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top