Skip to main content

Class: ContinueAsNewWorkflowExecutionCommandAttributes

command.v1.ContinueAsNewWorkflowExecutionCommandAttributes

Represents a ContinueAsNewWorkflowExecutionCommandAttributes.

Properties

backoffStartInterval

Optional backoffStartInterval: null | $Properties

How long the workflow start will be delayed - not really a "backoff" in the traditional sense.


cronSchedule

cronSchedule: string

Should be removed. Not necessarily unused but unclear and not exposed by SDKs.


failure

Optional failure: null | $Properties

Should be removed


Optional header: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes 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.


initialVersioningBehavior

initialVersioningBehavior: ContinueAsNewVersioningBehavior

Experimental. Optionally decide the versioning behavior that the first task of the new run should use. For example, choose to AutoUpgrade on continue-as-new instead of inheriting the pinned version of the previous run.


initiator

initiator: ContinueAsNewInitiator

Should be removed


input

Optional input: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes input.


lastCompletionResult

Optional lastCompletionResult: null | $Properties

Should be removed


memo

Optional memo: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes memo.


retryPolicy

Optional retryPolicy: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes retryPolicy.


searchAttributes

Optional searchAttributes: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes searchAttributes.


taskQueue

Optional taskQueue: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes taskQueue.


workflowRunTimeout

Optional workflowRunTimeout: null | $Properties

Timeout of a single workflow run.


workflowTaskTimeout

Optional workflowTaskTimeout: null | $Properties

Timeout of a single workflow task.


workflowType

Optional workflowType: null | $Properties

ContinueAsNewWorkflowExecutionCommandAttributes workflowType.

Methods

toJSON

toJSON(): Object

Converts this ContinueAsNewWorkflowExecutionCommandAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

Creates a new ContinueAsNewWorkflowExecutionCommandAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?$ShapeProperties to set

Returns

ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

ContinueAsNewWorkflowExecutionCommandAttributes instance

create(properties?): ContinueAsNewWorkflowExecutionCommandAttributes

Parameters

NameType
properties?$Properties

Returns

ContinueAsNewWorkflowExecutionCommandAttributes


decode

decode(reader, length?): ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

Decodes a ContinueAsNewWorkflowExecutionCommandAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

ContinueAsNewWorkflowExecutionCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

Decodes a ContinueAsNewWorkflowExecutionCommandAttributes message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ContinueAsNewWorkflowExecutionCommandAttributes & $Shape

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

NameTypeDescription
message$PropertiesContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode
writer?WriterWriter 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

NameTypeDescription
message$PropertiesContinueAsNewWorkflowExecutionCommandAttributes message or plain object to encode
writer?WriterWriter 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

NameTypeDescription
objectObjectPlain object

Returns

ContinueAsNewWorkflowExecutionCommandAttributes

ContinueAsNewWorkflowExecutionCommandAttributes


toObject

toObject(message, options?): Object

Creates a plain object from a ContinueAsNewWorkflowExecutionCommandAttributes message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageContinueAsNewWorkflowExecutionCommandAttributesContinueAsNewWorkflowExecutionCommandAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object