Configure approval events
Configure the approval system events that control the approval buttons and stage transitions for a ServiceNow CPQ implementation.
Before you begin
Role required: admin or sn_adv_appr_mgmt.approval_rule_admin
The environment setup must be complete so that the approval system events, integrations, rules, and fields are seeded in your instance. For more information, see Set up the environment to manage approvals.
About this task
Configure these events. Do not create additional ones. The events fall into two groups based on how they are triggered.
| Event | Trigger type | What you configure |
|---|---|---|
| Preview Approval (txn.approval.preview) | Layout button | Event access rules that control when the button is visible, plus a layout button with a UI effect that opens the embedded SN approval component. |
| View Approval (txn.approval.view) | Layout button | |
| Request Approval (txn.approval.request) | Fired by the embedded component | The stage transition that occurs after the action completes. No layout button is needed. |
| Approve Approval (txn.approval.approve) | Fired by the embedded component | |
| Cancel Approval (txn.approval.cancel) | Fired by the embedded component |
Procedure
Result
All five approval events are configured. The Preview and View buttons appear in the layout according to the approval state, and each action event moves the transaction to the correct stage.
What to do next
Configure the stages and entry criteria that validate each approval state transition. For more information, see Configure stages and entry criteria.