Production Events
Production-domain events govern the lifecycle of work orders, jobs, batches, steps, and work sessions. Every production event extends BaseProductionEvent, which sets _notification_subtopic = "production" — all production events publish to progress.notification.production after transaction commit. BaseProductionEvent.post_processing() also updates job.last_online and recalculates work order status after each commit.
Events
| Event | EventType |
|---|---|
| ActiveBatchChangedEvent | ACTIVE_BATCH_CHANGED |
| BatchCompletedEvent | BATCH_COMPLETED |
| BatchCreatedEvent | BATCH_CREATED |
| BatchReleasedEvent | BATCH_RELEASED |
| JobBackOnlineEvent | JOB_BACK_ONLINE |
| JobPauseForcedEvent | JOB_PAUSE_FORCED |
| JobPausedEvent | JOB_PAUSED |
| JobPausedOfflineEvent | JOB_PAUSED_OFFLINE |
| JobResumedEvent | JOB_RESUMED |
| JobStartedEvent | JOB_STARTED |
| QueueUpdatedEvent | QUEUE_UPDATED |
| StepCompletedEvent | STEP_COMPLETED |
| StepEditedEvent | STEP_EDITED |
| WorkOrderStartedEvent | WORK_ORDER_STARTED |