namespaceRef | reference to WorkflowNamespace | yes | | | The namespace the type belongs to. |
name | string | yes | | length 1 to 255 | The workflow type name workers register and starts use. |
description | string | | | up to 1000 characters | What the workflow does, for people. |
taskQueue | string | | | up to 255 characters | Task queue used when a start names none. |
executionTimeoutSeconds | integer | | | 0 to 157680000 | Longest a workflow may run in all, with its retries and continuations. 0 is one year. |
runTimeoutSeconds | integer | | | 0 to 157680000 | Longest one run may take. 0 is no limit besides the execution timeout. |
taskTimeoutSeconds | integer | | 10 | 1 to 120 | How long a worker has to answer a workflow task. |
retryPolicy | object | | | | Retries of the whole workflow when it fails; unset means it is not retried. |
retryPolicy.initialIntervalSeconds | integer | | 1 | 1 to 86400 | Wait before the first retry. |
retryPolicy.backoffCoefficient | number | | 2 | 1 to 10 | Each wait is this many times the one before. |
retryPolicy.maximumIntervalSeconds | integer | | | 0 to 86400 | Longest wait; 0 is 100 times the initial one. |
retryPolicy.maximumAttempts | integer | | | 0 to 1000 | Most attempts; 0 is no limit. |
retryPolicy.nonRetryableErrorTypes | list of string | | | up to 20 items | Error types that end retrying at once. |