Configure the stages and entry criteria that validate each approval state transition, ensuring a transaction can enter a stage only when its approval state confirms it belongs there.
Before you begin
Role required: admin or sn_adv_appr_mgmt.approval_rule_admin
You have configured the approval events and their stage transitions. For more information, see Configure approval events.
About this task
Stage entry criteria act as the validation gate for each approval state transition. When an action event fires and updates txn.approvalState, the stage transition configured on that event attempts to move the transaction. The
destination stage accepts the transaction only if its entry criteria conditions are met—ensuring the transaction cannot enter a stage unless the approval state confirms it belongs there. Rule groups are assigned to events to
run the appropriate approval validation rules each time an event is triggered.
Stages are fully customizable and managed by your admin. You can create as many stages as your process requires and name them as needed. This guide uses the following example structure: Draft → Pending Approval → Approved →
Completed.
Table 1. Example stage configuration
| Stage |
Entry criteria (txn.approvalState) |
| Draft |
None (initial stage) |
| Pending Approval |
Equals requested |
| Approved |
Equals approved |
| Completed |
Per your process |
Procedure
-
Navigate to .
The Stages list opens.
-
Create or confirm your stages, then configure each one with its entry criteria and rule grouping.
For the example structure, ensure the following stages are present: Draft, Pending Approval, Approved, and Completed. Configure each stage and its associated event as described in the following substeps.
-
Configure the Draft stage and its rule grouping: on the Cancel Approval event (txn.approval.revision), associate the
Approval Revision rule grouping, then select Save.
No entry criteria are required because the Draft stage is the initial stage. The Draft stage is the starting point and the stage a transaction returns to after a recall or rejection. The Approval Revision rule group is assigned to the Cancel Approval event so that the correct validation
rules run whenever that event fires and returns the transaction to Draft.
Tip: If you have chosen a different stage as the recall or rejection destination, point the Cancel Approval event's stage transition at that stage. The Approval Revision rule group remains on the
event.
-
Configure the Pending Approval stage and its rule grouping.
- Open the stage.
- Set Allow Entry When to All Conditions Are Met with the condition Approval State (txn.approvalState) Equals requested.
- Select Save.
- On the Request Approval event (txn.approval.submission), associate the Approval Submission rule grouping.
- Select Save.
The transaction enters this stage after the seller submits a request for approval. The entry criteria validates that txn.approvalState has been set to requested by the Request Approval event before allowing
entry—preventing a transaction from being manually moved to this stage without a legitimate approval request in flight. The Approval Submission rule group is assigned to the Request Approval event so its
validation rules run when the event fires.
Tip: Set this entry condition on whichever stage you designated as the submission destination in the Request Approval event transition, and keep the Approval Submission rule group on the event. You can
also add further entry conditions here if your process requires additional validation before an approval request can proceed.
-
Configure the Approved stage and its rule grouping.
- Open the stage.
- Set Allow Entry When to All Conditions Are Met with the condition Approval State (txn.approvalState) Equals approved.
- Select Save.
- On the Approve Approval event (txn.approval.completion), associate the Approval Completion rule grouping.
- Select Save.
The transaction enters this stage after all required approvers have approved. The entry criteria validates that txn.approvalState has been set to approved by the Approve Approval event. The Approval Completion
rule group is assigned to the Approve Approval event so its validation rules run when the event fires.
Tip: Set this entry condition on whichever stage you designated as the approval completion destination in the Approve Approval event transition, and keep the Approval Completion rule group on the
event.
Each stage accepts a transaction only when its entry criteria are met, and the assigned rule group runs its validation rules each time the stage is entered.
Result
The approval stages are configured with entry criteria and rule groups. Each stage accepts a transaction only when the approval state confirms it belongs there, and the appropriate validation rules run on entry.
What to do next
After approvals are configured, end users can submit approval requests using the approval interface. For user-facing tasks, see Submit a quote for approval and Review and approve a submitted quote.