Audience: PMs, UX, Support. Model verified from code + source + live nav 2026-07-21; the picker/toggle UI is ⚠️ not driven end-to-end (stateful tab).
Journey A — Admin wires up notifications for a process
- HR admin opens Settings → Approval Workflow → Custom Notifications.
- For the leave event type, they create three rules:
- Creation → notify HR Admin (someone should review it).
- Approval → notify the requester's chain (it's confirmed).
- Rejection → notify the requester's manager (follow up).
- Each rule is Enabled.
Journey B — An event triggers notifications
- An employee submits a leave request.
- The Creation rule fires → everyone holding HR Admin gets a notification in their inbox.
- An approver approves it → the Approval rule fires → the configured roles are notified.
- (Or it's rejected → the Rejection rule fires instead.)
Journey C — Recipient sees the notification
- A person holding the target role opens their notification inbox.
- They see the notification for the event.
- They act (or just stay informed), depending on the stage.
Journey D — Team changes, rules keep working
- The HR Admin who received leave notifications leaves the company.
- A new person is granted the HR Admin role.
- No rule change needed — because notifications target the role, the new person automatically starts receiving them.
This is the payoff of role-based routing.