Status of an Event
Events can have the following statuses:
- New: the event is newly created, its notifications are not yet scheduled, this status should not remain longer than a short moment. The event is considered not active and not scheduled in this status
- Scheduled: notifications are scheduled. The event is considered active and scheduled in this status
- Running: the first notification was sent successfully, further notification(s) are scheduled. The event is considered active and scheduled in this status
- Completed: all notifications were handled and sent successfully. The event is considered not active (anymore) and not scheduled (anymore) in this status. The event cannot be edited anymore
- Failed: all notifications were handled, but some failed execution. There should be status messages indicating the exact failures, such as: "problem sending e-mail". The event is considered not active (anymore) and not scheduled (anymore) in this status. The event cannot be edited anymore
- User paused: not currently implemented. The event is considered active and not scheduled in this status
- Waiting for user: not currently implemented. The event is considered active and not scheduled in this status
- User aborted: not currently implemented. The event is considered not active and not scheduled in this status. The event cannot be edited anymore