Skip to main content

Interface: WorkflowDurationOptions

Properties​

workflowExecutionTimeout?​

optional workflowExecutionTimeout?: Duration

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​

number of milliseconds or ms-formatted string


workflowRunTimeout?​

optional workflowRunTimeout?: Duration

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​

number of milliseconds or ms-formatted string


workflowTaskTimeout?​

optional workflowTaskTimeout?: Duration

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

Format​

number of milliseconds or ms-formatted string