Skip to main content

Interface: GetWorkflowHandleOptions

client.GetWorkflowHandleOptions

Options for WorkflowClient.getHandle

Hierarchy​

Properties​

firstExecutionRunId​

• Optional firstExecutionRunId: string

ID of the first execution in the Workflow execution chain.

When getting a handle with no runId, pass this option to ensure some WorkflowHandle methods (e.g. terminate and cancel) don't affect executions from another chain.


followRuns​

• Optional followRuns: boolean

If set to true, instructs the client to follow the chain of execution before returning a Workflow's result.

Workflow execution is chained if the Workflow has a cron schedule or continues-as-new or configured to retry after failure or timeout.

Default

true

Inherited from​

WorkflowResultOptions.followRuns


typeInfo​

• Optional typeInfo: PayloadTypeInfo

Type information used to decode the Workflow result.

This is only needed when getting a result from an existing Workflow handle or when the Workflow definition is not available to this client.

Inherited from​

WorkflowResultOptions.typeInfo