Salesforce - Reject record in approval process action

This action rejects a Salesforce record and triggers all steps in the rejection process.

For example, steps in the rejection process can lock the record, update fields, send an outbound message, or send an email. This action also triggers the Salesforce 'Final rejection actions' if they are configured. Refer to the Salesforce approval process guide for more information about approvals.

Input

Input fieldsDescription
Record IDSpecify the Salesforce ID of the record and the approval process. You can use the drop-down menu to toggle this field to Use approval request ID if a previous step already submits the record for approval. You can obtain this ID from other Salesforce actions, such as Search records.
CommentsEnter comments to include with the rejection.
On-behalf-of user emailOptional. Enter the email of a Salesforce user to impersonate. Contact your Workato Customer Success Manager to enable this field. This field only supports JWT connections.

Output

Output fieldsDescription
Record IDThe Salesforce ID of the record.
StatusThe status of the record's approval.
Approval request IDThe Salesforce ID of the approval request.
SuccessIndicates whether the record was approved successfully.
ErrorsAn object containing any errors that occurred.

Approval rejectedA rejected record

Last updated: