BuildEvents
Assignment Events
Assignment events fire when scheduled assignments execute or are automatically paused due to failures. These system events enable you to react to automation lifecycle events.
Event Types
assignment.execute
The assignment.execute event fires when a scheduled assignment should execute.
Event Type:
Fields:
content.text(string)Assignment execution message.
assignment.assignmentId(string)ID of the assignment to execute.
assignment.scheduledTime(Date)When this execution was scheduled.
Example - Execution Logger:
assignment.auto_paused
The assignment.auto_paused event fires when an assignment is automatically paused due to consecutive failures.
Event Type:
Fields:
content.text(string)Auto-pause notification message.
assignment.assignmentId(string)ID of the paused assignment.
assignment.reason(string)Reason for auto-pausing.
assignment.failureCount(number)Number of consecutive failures.
assignment.lastErrors(string[])Array of recent error messages.
Example - Failure Alert:
Subscription Examples:
See Also
- Events Overview - Event system architecture
- Creating Scripts - Script configuration