This API enables you to update a runtime adhoc approval process that can be used to submit for adhoc approvals. This API accepts an approval process structure as input parameter and returns the same structure with record IDs populated. For details on the input structure, refer to AdhocApprovalProcessDTO.

APISignature
updateRuntimeAdhocApprovalProcesswebService static Boolean DeleteRuntimeAdhocApprovalProcess(String sObjectType, Id sObjectId)
Request Parameters
NameTypeRequired?Description

adhocApproverProcessDTO

adhocApproverProcessDTOYesThe adhoc approver process structure to update.
Response Parameter
NameTypeDescription
resultBooleanThe runtime adhoc approval process structure for the updated process.