This API cancels the entire approval process associated with the context object asynchronously in the background. Currently, assigned approvers will be notified via email. This API accepts the object type and the object ID of the approval request as input parameters.
API
Signature
cancelApprovalsAsync
WebService static Boolean cancelApprovalsAsync(String sObjectType, ID sObjectId)
Request Parameters
Name
Type
Required?
Description
sObjectId
ID
Yes
ID of the approval context object.
sObjectType
String
Yes
Type of the approval context object.
Response Parameter
Name
Type
Description
result
Boolean
Returns true if the queueable job for the cancel is submitted successfully.
Integration Details
Use the following information in your integrations with Conga Approvals API. Refer to Integrating Conga with External Systems for information on how to get started.