WorkflowTriggerState
A trigger configuration for automated workflow execution
Fields
Unique identifier
Tenant ID
Associated workflow ID
Pinned workflow version ID (optional)
Trigger name
What makes this trigger fire, and how it is configured.
Whether the trigger is enabled
Policy for concurrent executions
Possible values (4)
ALLOWAllow multiple concurrent executions
QUEUEQueue new executions if one is running
SKIPSkip new executions if one is running
CANCELCancel running execution and start new one
Maximum concurrent executions (optional)
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (5)
Exact type SDL
"""A trigger configuration for automated workflow execution"""
type WorkflowTriggerState @iac_resource(name: "workflow_trigger") @iac_ops(create: "createWorkflowTrigger", read: "workflowTrigger", update: "updateWorkflowTrigger", delete: "deleteWorkflowTrigger") {
"""Unique identifier"""
id: WorkflowTriggerID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Tenant ID"""
tenantId: TenantID! @iac_computed
"""Associated workflow ID"""
workflowId: WorkflowID! @iac_ref(resource: "workflow") @iac_createOnly
"""Pinned workflow version ID (optional)"""
versionId: WorkflowVersionID @iac_ref(resource: "workflow_version") @iac_createOnly
"""Trigger name"""
name: String!
"""What makes this trigger fire, and how it is configured."""
config: TriggerConfig! @value_validate(with: ["workflow-trigger-config"])
"""Whether the trigger is enabled"""
isEnabled: Boolean!
"""Policy for concurrent executions"""
concurrencyPolicy: ConcurrencyPolicy!
"""Maximum concurrent executions (optional)"""
maxConcurrentExecutions: Int
"""Creation timestamp (ISO8601)"""
createdAt: String! @iac_computed
"""Last update timestamp (ISO8601)"""
updatedAt: String! @iac_computed
}