Documentation

StartWorkflowAction extends ScheduleAction
in package
uses CloneWith

FinalYes

Start a new Workflow execution.

Tags
psalm-import-type

DateIntervalValue from DateInterval

see
NewWorkflowExecutionInfo

Table of Contents

Properties

$header  : HeaderInterface
Header
$input  : ValuesInterface
Argument list to the workflow
$memo  : EncodedCollection
Memo
$retryPolicy  : RetryOptions
The retry policy for the workflow. Will never exceed {@see self::$workflowExecutionTimeout}.
$searchAttributes  : EncodedCollection
Search attributes
$taskQueue  : TaskQueue
Task queue
$workflowExecutionTimeout  : DateInterval
Total workflow execution timeout including retries and continue as new
$workflowId  : string
Workflow ID
$workflowIdReusePolicy  : IdReusePolicy
Default {@see IdReusePolicy::AllowDuplicate}
$workflowRunTimeout  : DateInterval
Timeout of a single workflow run
$workflowTaskTimeout  : DateInterval
Timeout of a single workflow task
$workflowType  : WorkflowType
Workflow type

Methods

new()  : self
withHeader()  : self
Header
withInput()  : self
Arguments to the workflow
withMemo()  : self
Memo
withRetryPolicy()  : self
The retry policy for the workflow. Will never exceed {@see self::$workflowExecutionTimeout}
withSearchAttributes()  : self
Search attributes
withTaskQueue()  : self
withWorkflowExecutionTimeout()  : self
Total workflow execution timeout including retries and continue as new
withWorkflowId()  : self
withWorkflowIdReusePolicy()  : self
withWorkflowRunTimeout()  : self
Timeout of a single workflow run
withWorkflowTaskTimeout()  : self
Timeout of a single workflow task
withWorkflowType()  : self
__construct()  : mixed
createWorkflowType()  : WorkflowType

Properties

$retryPolicy read-only

The retry policy for the workflow. Will never exceed {@see self::$workflowExecutionTimeout}.

public RetryOptions $retryPolicy

$workflowExecutionTimeout read-only

Total workflow execution timeout including retries and continue as new

public DateInterval $workflowExecutionTimeout

$workflowRunTimeout read-only

Timeout of a single workflow run

public DateInterval $workflowRunTimeout

$workflowTaskTimeout read-only

Timeout of a single workflow task

public DateInterval $workflowTaskTimeout

Methods

withRetryPolicy()

The retry policy for the workflow. Will never exceed {@see self::$workflowExecutionTimeout}

public withRetryPolicy(RetryOptions $retryPolicy) : self
Parameters
$retryPolicy : RetryOptions
Return values
self

withWorkflowExecutionTimeout()

Total workflow execution timeout including retries and continue as new

public withWorkflowExecutionTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Return values
self

withWorkflowId()

public withWorkflowId(string $workflowId) : self
Parameters
$workflowId : string
Return values
self

withWorkflowRunTimeout()

Timeout of a single workflow run

public withWorkflowRunTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Return values
self

withWorkflowTaskTimeout()

Timeout of a single workflow task

public withWorkflowTaskTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Return values
self

        
On this page

Search results