Canceling a document
You can cancel a document that you already sent for signature collection if you decide to sign the document offline.
To cancel a single in-process envelope that is not locked or signed by any of the recipients, do the following actions:
Add the pxVoidDocuSignEnvelope flow action as a case-wide local action.
At run time, you can cancel an outstanding document by selecting the local action from the work object.
Override the pySetEnvelopeCredentials data transform to specify the ID of the envelope that you want to cancel.