View Source Lightning.Workflows.Trigger (Lightning v2.10.4)
Ecto model for Triggers.
Triggers represent the criteria in which a Job might be invoked.
Types
Webhook (default)
A webhook trigger allows a Job to invoked (via Lightning.Invocation
) when it's
endpoint is called.
Summary
Types
@type t() :: %Lightning.Workflows.Trigger{ __meta__: Ecto.Schema.Metadata.t(), comment: term(), cron_expression: term(), custom_path: term(), delete: term(), edges: term(), enabled: term(), has_auth_method: term(), id: Ecto.UUID.t() | nil, inserted_at: term(), kafka_configuration: term(), type: term(), updated_at: term(), webhook_auth_methods: term(), workflow: term(), workflow_id: term() }
@type trigger_type() :: :webhook | :cron