Scenario: In the approval workflow, I want the document to be read-only so that no one edits the document when in transition.
Possible Approach which wont work for me:
1) Change Permissions: Our documents have unique permissions. So I cannot have the workflow to set the permissions to read-only and then at the end of the workflow revert it back to the "original" permissions.
2) Checkout the document in the beginning of the workflow and then "Discard checkout" at the end. Currently this is my approach which is working fine with an exception that the Initiator of the workflow can EDIT the document but no one else.
I dont want the Initiator as well to Edit the document (refer approach #2 above). Other problem is that if the workflow "errors" for some reason then the document remains checked out. Ideally there has to be a way to Undo checkout in case of error.
Possible solution: I am trying to always CheckOut the document with "another user" (lets say Admin) and NOT by the "current user" so that No one can edit the document (except admin). Can someone please let me know how can I acheive this and have the document checked out by someone else? Thanks for the help in advance.