Flow Control
Control how many notifications can be pending at once:Event Patterns
| Pattern | Triggers On |
|---|---|
thread.cancelled | Thread cancelled |
thread.completed | Thread completed |
step.success | Step succeeded |
step.failed | Step failed |
rule.violated | Contract violation |
rule.passed | Contract validation passed |
step.* | Any step event (wildcard) |
rule.* | Any validation (wildcard) |
Subscribing
Notification Properties
| Property | Type | Description |
|---|---|---|
notificationId | string | Unique notification ID |
threadId | string | Thread ID |
stepName | string | Step name |
stepStatus | string | success or failed |
status | string | passed or violated |
severity | string | info, warning, critical |
message | string | Human-readable message |
timestamp | string | ISO timestamp |
ack() | method | Acknowledge notification |