Class: NewWorkflowExecutionInfo
workflow.v1.NewWorkflowExecutionInfo
NewWorkflowExecutionInfo is a shared message that encapsulates all the required arguments to starting a workflow in different contexts.
Implements
Constructors
constructor
• new NewWorkflowExecutionInfo(properties?): NewWorkflowExecutionInfo
Constructs a new NewWorkflowExecutionInfo.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | INewWorkflowExecutionInfo | Properties to set |
Returns
Properties
cronSchedule
• cronSchedule: string
See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
Implementation of
INewWorkflowExecutionInfo.cronSchedule
header
• Optional header: null | IHeader
NewWorkflowExecutionInfo header.
Implementation of
INewWorkflowExecutionInfo.header
input
• Optional input: null | IPayloads
Serialized arguments to the workflow.
Implementation of
INewWorkflowExecutionInfo.input
memo
• Optional memo: null | IMemo
NewWorkflowExecutionInfo memo.
Implementation of
INewWorkflowExecutionInfo.memo
priority
• Optional priority: null | IPriority
Priority metadata
Implementation of
INewWorkflowExecutionInfo.priority
retryPolicy
• Optional retryPolicy: null | IRetryPolicy
The retry policy for the workflow. Will never exceed workflow_execution_timeout.
Implementation of
INewWorkflowExecutionInfo.retryPolicy
searchAttributes
• Optional searchAttributes: null | ISearchAttributes
NewWorkflowExecutionInfo searchAttributes.
Implementation of
INewWorkflowExecutionInfo.searchAttributes
taskQueue
• Optional taskQueue: null | ITaskQueue
NewWorkflowExecutionInfo taskQueue.
Implementation of
INewWorkflowExecutionInfo.taskQueue
userMetadata
• Optional userMetadata: null | IUserMetadata
Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig for use by user interfaces to display the fixed as-of-start summary and details of the workflow.
Implementation of
INewWorkflowExecutionInfo.userMetadata
versioningOverride
• Optional versioningOverride: null | IVersioningOverride
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion. To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.
Implementation of
INewWorkflowExecutionInfo.versioningOverride
workflowExecutionTimeout
• Optional workflowExecutionTimeout: null | IDuration
Total workflow execution timeout including retries and continue as new.
Implementation of
INewWorkflowExecutionInfo.workflowExecutionTimeout
workflowId
• workflowId: string
NewWorkflowExecutionInfo workflowId.
Implementation of
INewWorkflowExecutionInfo.workflowId
workflowIdReusePolicy
• workflowIdReusePolicy: WorkflowIdReusePolicy
Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
Implementation of
INewWorkflowExecutionInfo.workflowIdReusePolicy
workflowRunTimeout
• Optional workflowRunTimeout: null | IDuration
Timeout of a single workflow run.
Implementation of
INewWorkflowExecutionInfo.workflowRunTimeout