Enrollment
One Person's run through one Sequence: when they entered, where it stands, and when and how it ended.
| |
|---|
| Pack | Marketing |
| Version | v1 (latest) |
| URN | urn:postware:marketing:enrollment |
| Identity | identifiers |
| Status categories | active, paused, finished, exited, failed |
Fields
| Field | Type | Req | Notes |
|---|
sequence | Ref<Sequence> | yes | |
contact | Ref<Person | User> | yes | who is going through the sequence: a Person, or a User of the product |
status | Status(active|paused|finished|exited|failed) | yes | default map[category:active] |
enrolled_at | datetime | yes | |
finished_at | datetime | no | set when status leaves active and paused |
Events
enrollment.finished when status.category becomes finished; enrollment.exited when status.category becomes exited.
Extensions
| Extension | Type | Notes |
|---|
ext.marketing.current_step | int | The order of the Sequence step the Person is waiting on or last received. |