Cancel Approval Submission Action
Cancels an approval submission and all child approval work items that haven’t been completed. You can also add comments about why the approval admin made the cancellation.
This action also validates if a user has required permissions to cancel an approval submission. Keep these considerations in mind when you use this invocable action.
- The user must have the Approval Admin user permission.
- The status of the approval submission must be in
In progressorSuspendedstatus.
This action is available in API version 62.0 and later.
URI: /services/data/v68.0/actions/standard/cancelApprovalSubmission
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
approvalSubmissionId | string | Required. ID of the Approval Submission to be canceled. |
comments | string | Comments entered by the approval admin about why they canceled the Approval Submission. |
None.
POST
Here’s a sample request for the Cancel Approval Submission action.
Here’s a sample response for the Cancel Approval Submission action.