Interface: ContinueAsNewOptions
workflow.ContinueAsNewOptions
Options for continuing a Workflow as new
Properties
memo
• Optional
memo: Record
<string
, unknown
>
Non-searchable attributes to attach to next Workflow run
searchAttributes
• Optional
searchAttributes: SearchAttributes
Searchable attributes to attach to next Workflow run
taskQueue
• Optional
taskQueue: string
Task queue to continue the Workflow in
versioningIntent
• Optional
versioningIntent: VersioningIntent
When using the Worker Versioning feature, specifies whether this Workflow should Continue-as-New onto a worker with a compatible Build Id or not. See VersioningIntent.
Default
'COMPATIBLE'
@experimental
workflowRunTimeout
• Optional
workflowRunTimeout: Duration
Timeout for the entire Workflow run
Format
workflowTaskTimeout
• Optional
workflowTaskTimeout: Duration
Timeout for a single Workflow task
Format
workflowType
• Optional
workflowType: string
A string representing the Workflow type name, e.g. the filename in the Node.js SDK or class name in Java