Enrollment.paused
Emitted each time an Enrollment is paused.
Enrollment.pause emits Enrollment.paused when it completes on an Enrollment.
| Property | Value |
|---|---|
| Emitted by | Enrollment.pause |
| Noun | Enrollment |
| Moves | Enrollment active to paused |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Enrollment.pause returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Enrollment.paused. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.enrollment | Enrollment | required | The Enrollment, now paused. |
data.enrollment.status | string | required | Where the run stands. |
data.enrollment.step | string | required | The Sequence step the person is on. |
data.enrollment.nextAt | datetime | When the next step fires; empty while paused or exited. | |
data.enrollment.branches | string[] | The branches taken so far, in order. | |
data.enrollment.exitReason | string | Why the run ended. | |
data.previous.status | string | required | The status before this Event: active. |
Example
{
"$id": "https: //api.sb/ petpantry.shop/ events/ event_1",
"$type": "Event",
"name": "Enrollment.paused",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"enrollment": {
"$id": "https: //api.sb/ petpantry.shop/ enrollments/ enrollment_1",
"$type": "Enrollment",
"status": "paused",
"step": "Example step",
"nextAt": "2026-10-22T12: 00: 00Z",
"branches": [
"Example branches"
],
"exitReason": "replied"
},
"previous": {
"status": "active"
}
},
"seq": 1
}