Documentation

WorkflowInfo
in package

FinalYes

Table of Contents

Properties

$attempt  : positive-int
Attempt starts from 1 and increased by 1 for every retry if retry policy is specified.
$binaryChecksum  : string
$continuedExecutionRunId  : string|null
$cronSchedule  : string|null
$execution  : WorkflowExecution
$executionTimeout  : DateInterval
$historyLength  : int<0, max>
Contains the count of history events.
$historySize  : int<0, max>
Size of Workflow history in bytes up until the current moment of execution.
$memo  : array<string|int, mixed>|null
$namespace  : string
$parentExecution  : WorkflowExecution|null
$parentNamespace  : string|null
$runTimeout  : DateInterval
$searchAttributes  : array<string|int, mixed>|null
$shouldContinueAsNew  : bool
Contains true if the server is configured to suggest continue as new and it is suggested.
$taskQueue  : non-empty-string
$taskTimeout  : DateInterval
$type  : WorkflowType

Methods

__construct()  : mixed
WorkflowInfo constructor.

Attributes

#[Immutable]

#[Immutable]

Properties

$attempt

Attempt starts from 1 and increased by 1 for every retry if retry policy is specified.

public positive-int $attempt = 1

$continuedExecutionRunId

public string|null $continuedExecutionRunId = null

$historyLength

Contains the count of history events.

public int<0, max> $historyLength = 0

This value changes during the lifetime of a Workflow Execution.

Tags
since
2.6.0
since

RoadRunner 2023.2. With lower versions, this field is always 0.

$historySize

Size of Workflow history in bytes up until the current moment of execution.

public int<0, max> $historySize = 0

This value changes during the lifetime of a Workflow Execution.

Tags
since
2.11.0
since

RoadRunner 2024.2. With lower versions, this field is always 0.

$memo

public array<string|int, mixed>|null $memo = null

$namespace

public string $namespace = \Temporal\Client\ClientOptions::DEFAULT_NAMESPACE

$parentNamespace

public string|null $parentNamespace = null

$searchAttributes

public array<string|int, mixed>|null $searchAttributes = null

$shouldContinueAsNew

Contains true if the server is configured to suggest continue as new and it is suggested.

public bool $shouldContinueAsNew = false

This value changes during the lifetime of a Workflow Execution.

Tags
since
2.11.0
since

RoadRunner 2024.2. With lower versions, this field is always false.

$taskQueue

public non-empty-string $taskQueue = \Temporal\Worker\WorkerFactoryInterface::DEFAULT_TASK_QUEUE

Methods

__construct()

WorkflowInfo constructor.

public __construct() : mixed

        
On this page

Search results