Class: WorkflowExecutionOptions
Represents a WorkflowExecutionOptions.
Properties
priority?
optionalpriority?:$Properties|null
If set, overrides the workflow's priority sent by the SDK.
timeSkippingConfig?
optionaltimeSkippingConfig?:$Properties|null
The time-skipping configuration for this workflow execution.
When fast_forward is set, time will be fast-forwarded to a future point relative
to the current workflow timestamp. Each call takes effect, even if
fast_forward is set to the same duration, since the target time is recalculated
from the current timestamp on every call.
This field must be updated as a whole; updating individual sub-fields is not supported.
When setting the update mask in UpdateWorkflowExecutionOptionsRequest,
BatchOperationUpdateWorkflowExecutionOptions, etc., use a mask that covers the entire field.
versioningOverride?
optionalversioningOverride?:$Properties|null
If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.
Methods
toJSON()
toJSON():
object
Converts this WorkflowExecutionOptions to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkflowExecutionOptions&$Shape
Creates a new WorkflowExecutionOptions instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionOptions & $Shape
WorkflowExecutionOptions instance
Call Signature
staticcreate(properties?):WorkflowExecutionOptions
Creates a new WorkflowExecutionOptions instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionOptions
WorkflowExecutionOptions instance
decode()
staticdecode(reader,length?):WorkflowExecutionOptions&$Shape
Decodes a WorkflowExecutionOptions message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message length if known beforehand
Returns
WorkflowExecutionOptions & $Shape
WorkflowExecutionOptions
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):WorkflowExecutionOptions&$Shape
Decodes a WorkflowExecutionOptions message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
WorkflowExecutionOptions & $Shape
WorkflowExecutionOptions
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified WorkflowExecutionOptions message. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionOptions.verify|verify messages.
Parameters
message
WorkflowExecutionOptions message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkflowExecutionOptions message, length delimited. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionOptions.verify|verify messages.
Parameters
message
WorkflowExecutionOptions message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkflowExecutionOptions
Creates a WorkflowExecutionOptions message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WorkflowExecutionOptions
WorkflowExecutionOptions
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkflowExecutionOptions message. Also converts values to other types if specified.
Parameters
message
WorkflowExecutionOptions
WorkflowExecutionOptions
options?
IConversionOptions
Conversion options
Returns
object
Plain object