Skip to main content

Interface: WorkflowDurationOptions

client.WorkflowDurationOptions

Properties

workflowExecutionTimeout

Optional workflowExecutionTimeout: string | number

The time after which workflow execution (which includes run retries and continue as new) is automatically terminated by Temporal service. Do not rely on execution timeout for business level timeouts. It is preferred to use in workflow timers for this purpose.

format ms formatted string or number of milliseconds


workflowRunTimeout

Optional workflowRunTimeout: string | number

The time after which workflow run is automatically terminated by Temporal service. Do not rely on run timeout for business level timeouts. It is preferred to use in workflow timers for this purpose.

format ms formatted string or number of milliseconds


workflowTaskTimeout

Optional workflowTaskTimeout: string | number

Maximum execution time of a single workflow task. Default is 10 seconds.

format ms formatted string or number of milliseconds