WorkflowExecutionLog
extends BaseEntity
in package
WorkflowExecutionLog Entity
Per-node execution record within a workflow instance. Tracks input/output data, status, and timing for each node execution attempt.
Table of Contents
Constants
- STATUS_COMPLETED : mixed = 'completed'
- STATUS_FAILED : mixed = 'failed'
- STATUS_PENDING : mixed = 'pending'
- STATUS_RUNNING : mixed = 'running'
- STATUS_SKIPPED : mixed = 'skipped'
- STATUS_WAITING : mixed = 'waiting'
Properties
- $attempt_number : int
- $branch_id : int|null
- $completed_at : DateTime|null
- $created : DateTime|null
- $error_message : string|null
- $id : int
- $input_data : array<string|int, mixed>|null
- $modified : DateTime|null
- $node_id : string
- $node_type : string
- $output_data : array<string|int, mixed>|null
- $started_at : DateTime|null
- $status : string
- $workflow_instance : WorkflowInstance
- $workflow_instance_id : int
- $_accessible : array<string, bool>
- Fields that can be mass assigned.
Methods
- getBranchId() : int|null
- Get the branch ID for authorization checks.
Constants
STATUS_COMPLETED
public
mixed
STATUS_COMPLETED
= 'completed'
STATUS_FAILED
public
mixed
STATUS_FAILED
= 'failed'
STATUS_PENDING
public
mixed
STATUS_PENDING
= 'pending'
STATUS_RUNNING
public
mixed
STATUS_RUNNING
= 'running'
STATUS_SKIPPED
public
mixed
STATUS_SKIPPED
= 'skipped'
STATUS_WAITING
public
mixed
STATUS_WAITING
= 'waiting'
Properties
$attempt_number
public
int
$attempt_number
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$completed_at
public
DateTime|null
$completed_at
$created
public
DateTime|null
$created
$error_message
public
string|null
$error_message
$id
public
int
$id
$input_data
public
array<string|int, mixed>|null
$input_data
$modified
public
DateTime|null
$modified
Last modification timestamp
$node_id
public
string
$node_id
$node_type
public
string
$node_type
$output_data
public
array<string|int, mixed>|null
$output_data
$started_at
public
DateTime|null
$started_at
$status
public
string
$status
$workflow_instance
public
WorkflowInstance
$workflow_instance
$workflow_instance_id
public
int
$workflow_instance_id
$_accessible
Fields that can be mass assigned.
protected
array<string, bool>
$_accessible
= ['workflow_instance_id' => true, 'node_id' => true, 'node_type' => true, 'attempt_number' => true, 'status' => true, 'input_data' => true, 'output_data' => true, 'error_message' => true, 'started_at' => true, 'completed_at' => true]
Methods
getBranchId()
Get the branch ID for authorization checks.
public
getBranchId() : int|null
Child classes should override for complex branch relationships.
Return values
int|null —The branch ID, or null if no association