Download page Delete a Runtime Ad Hoc Approval Process.
Delete a Runtime Ad Hoc Approval Process
This API enables you to delete a runtime ad hoc approval process. This API accepts the context object type and id as input parameters and returns true if the ad hoc process definition is successfully deleted.
API
Signature
DeleteRuntimeAdhocApprovalProcess
webService static Boolean DeleteRuntimeAdhocApprovalProcess(String sObjectType, Id sObjectId)
Request Parameters
Name
Type
Required?
Description
sObjectId
ID
Yes
Id of the approval context object.
sObjectType
Type
Yes
Type of the approval context object.
Response Parameter
Name
Type
Description
result
Boolean
Returns true if the approval request is deleted successfully.
Code Sample
/**
* Delete a runtime ad hoc approval process
* @param sObjectType the approval context sobject type
* @param sObjectId the approval context sobject identifier
* @return <code>true</code> if the process is deleted, <code>false</code> otherwise
*/
WebService static Boolean DeleteRuntimeAdhocApprovalProcess(String sObjectType, ID sObjectId);
CODE
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.