Class: ContinueAsNewWorkflowExecutionCommandAttributes
command.v1.ContinueAsNewWorkflowExecutionCommandAttributes
Represents a ContinueAsNewWorkflowExecutionCommandAttributes.
Implements
Constructors
constructor
• new ContinueAsNewWorkflowExecutionCommandAttributes(properties?): ContinueAsNewWorkflowExecutionCommandAttributes
Constructs a new ContinueAsNewWorkflowExecutionCommandAttributes.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IContinueAsNewWorkflowExecutionCommandAttributes | Properties to set | 
Returns
ContinueAsNewWorkflowExecutionCommandAttributes
Properties
backoffStartInterval
• Optional backoffStartInterval: null | IDuration
How long the workflow start will be delayed - not really a "backoff" in the traditional sense.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.backoffStartInterval
cronSchedule
• cronSchedule: string
Should be removed. Not necessarily unused but unclear and not exposed by SDKs.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.cronSchedule
failure
• Optional failure: null | IFailure
Should be removed
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.failure
header
• Optional header: null | IHeader
ContinueAsNewWorkflowExecutionCommandAttributes header.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.header
inheritBuildId
• inheritBuildId: boolean
If this is set, the new execution inherits the Build ID of the current execution. Otherwise, the assignment rules will be used to independently assign a Build ID to the new execution. Deprecated. Only considered for versioning v0.2.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.inheritBuildId
initiator
• initiator: ContinueAsNewInitiator
Should be removed
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.initiator
input
• Optional input: null | IPayloads
ContinueAsNewWorkflowExecutionCommandAttributes input.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.input
lastCompletionResult
• Optional lastCompletionResult: null | IPayloads
Should be removed
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.lastCompletionResult
memo
• Optional memo: null | IMemo
ContinueAsNewWorkflowExecutionCommandAttributes memo.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.memo
retryPolicy
• Optional retryPolicy: null | IRetryPolicy
ContinueAsNewWorkflowExecutionCommandAttributes retryPolicy.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.retryPolicy
searchAttributes
• Optional searchAttributes: null | ISearchAttributes
ContinueAsNewWorkflowExecutionCommandAttributes searchAttributes.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.searchAttributes
taskQueue
• Optional taskQueue: null | ITaskQueue
ContinueAsNewWorkflowExecutionCommandAttributes taskQueue.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.taskQueue
workflowRunTimeout
• Optional workflowRunTimeout: null | IDuration
Timeout of a single workflow run.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.workflowRunTimeout
workflowTaskTimeout
• Optional workflowTaskTimeout: null | IDuration
Timeout of a single workflow task.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.workflowTaskTimeout
workflowType
• Optional workflowType: null | IWorkflowType
ContinueAsNewWorkflowExecutionCommandAttributes workflowType.
Implementation of
IContinueAsNewWorkflowExecutionCommandAttributes.workflowType
Methods
toJSON
▸ toJSON(): Object
Converts this ContinueAsNewWorkflowExecutionCommandAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ContinueAsNewWorkflowExecutionCommandAttributes
Creates a new ContinueAsNewWorkflowExecutionCommandAttributes instance using the specified properties.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IContinueAsNewWorkflowExecutionCommandAttributes | Properties to set | 
Returns
ContinueAsNewWorkflowExecutionCommandAttributes
ContinueAsNewWorkflowExecutionCommandAttributes instance
decode
▸ decode(reader, length?): ContinueAsNewWorkflowExecutionCommandAttributes
Decodes a ContinueAsNewWorkflowExecutionCommandAttributes message from the specified reader or buffer.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
| length? | number | Message length if known beforehand | 
Returns
ContinueAsNewWorkflowExecutionCommandAttributes
ContinueAsNewWorkflowExecutionCommandAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ContinueAsNewWorkflowExecutionCommandAttributes
Decodes a ContinueAsNewWorkflowExecutionCommandAttributes message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
Returns
ContinueAsNewWorkflowExecutionCommandAttributes
ContinueAsNewWorkflowExecutionCommandAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode
▸ encode(message, writer?): Writer
Encodes the specified ContinueAsNewWorkflowExecutionCommandAttributes message. Does not implicitly temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.verify|verify messages.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | IContinueAsNewWorkflowExecutionCommandAttributes | ContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode | 
| writer? | Writer | Writer to encode to | 
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ContinueAsNewWorkflowExecutionCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.verify|verify messages.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | IContinueAsNewWorkflowExecutionCommandAttributes | ContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode | 
| writer? | Writer | Writer to encode to | 
Returns
Writer
Writer
fromObject
▸ fromObject(object): ContinueAsNewWorkflowExecutionCommandAttributes
Creates a ContinueAsNewWorkflowExecutionCommandAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description | 
|---|---|---|
| object | Object | Plain object | 
Returns
ContinueAsNewWorkflowExecutionCommandAttributes
ContinueAsNewWorkflowExecutionCommandAttributes