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.
$memo  : array<string|int, mixed>|null
$namespace  : string
$parentExecution  : WorkflowExecution|null
$parentNamespace  : string|null
$runTimeout  : DateInterval
$searchAttributes  : array<string|int, mixed>|null
$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

The counter is automatically incremented in the background.

Tags
since
2.6.0
since

RoadRunner 2023.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

$taskQueue

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

Methods

__construct()

WorkflowInfo constructor.

public __construct() : mixed

        
On this page

Search results