ArchAstro. SDK. Types. AutomationRun
(archastro v0.3.5)
Copy Markdown
A single execution of an automation triggered by a platform event or direct invocation. Captures the run's status, input payload, and final result.
Summary
Types
@type t() :: %ArchAstro.SDK.Types.AutomationRun{ app: String.t(), automation: String.t(), created_at: DateTime.t() | ArchAstro.SDK.Unset.t(), event_id: String.t() | ArchAstro.SDK.Unset.t(), id: String.t(), participants: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(), payload: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(), result: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(), status: String.t(), team: String.t() | ArchAstro.SDK.Unset.t(), updated_at: DateTime.t() | ArchAstro.SDK.Unset.t(), user: String.t() | ArchAstro.SDK.Unset.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()