KMP PHP API Reference

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

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$modified

public DateTime|null $modified

Last modification timestamp

$_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

On this page

Search results