Hello Team.
I wanted to create a SharePoint Document approval flow using the power automate flow up to 2-3 level.
My main concern is to control the version and lock the file during the approval.
As per the SharePoint online product design we can't control the version on each editing or reviewing the file, whenever the user edit or review the file the new version created automatically but its should not happen like that.
We have created a 2 level approval flow but on each approval level process the file getting created as new version. so here we wanted to block the version of file during the approval process until the final approval completed. And as soon as Author(Owner) submitted the file for approval the file should be locked for everyone(Approver and Reviewer) even for the author(Owner) also until the final approval completed.
To kindly inform that from the SharePoint document library permission level we assigned permission for author as edit permission(So the author can work and submit the file for approval) and approve & reviewer as a review permission(So that they can add comments on file content and approve the file).
Please find the screen shot of flow
please suggest anyone who knows the possibilities thanks in advance.