Override Approval Work Item Action
This action also validates if a user has required permissions to override an approval work item and update its status. Keep these considerations in mind when you use this invocable action.
- The user must have the Approval Admin user permission.
- This action enables approval admins to interject the approval decision for any assignee.
- The status of the approval work item must be in Assigned status.
This action is available in API version 62.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v64.0/actions/standard/overrideApprovalWorkItem
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
Input | Details |
---|---|
approvalDecision |
|
approvalWorkItemId |
|
comments |
|
Outputs
None.
Example
- POST
-
Here's a sample request for the Override Approval Work Item action.
{ "inputs": [ { "approvalWorkItemId": "9jRxx00000001lhEAA", "approvalDecision": "Reject", "comments": "Needs to be reviewed." } ] }
-
Here's a sample response for the Override Approval Work Item action.
{ "actionName": "overrideApprovalWorkItem", "errors": null, "invocationId": null, "isSuccess": true, "outcome": null, "outputValues": null, "sortOrder": -1, "version": 1 }