on 2015 Sep 10 3:58 PM
Hi Experts,
We are in Sourcing 10.0.
Have a doubt in Contract Documents Approval Workflow.
Suppose document is pending for approval with some approver, and the approval is no more required(as he leaves the org).
So now document is in locked state , is there any way owner of that document can cancel the workflow and will be able to continue work on that document.
Any leads would be of great help!!
Regards,
Geetika
Request clarification before answering.
HI Geetika,
You can write a toolbar script to unlock the CD which is routed for approval and Check if the current logged user is Owner then toolbar script should work else throw relevant error.
Below is the line which you need to write in Toolbar script to unlock the Document:
IapiDocumentLockManager.unlockDocument(session, doc);
Hope it helps!
Best,
Kushagra A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.