Class: WorkflowExecutionExtendedInfo
Holds all the extra information about workflow execution that is not part of Visibility.
Properties
cancelRequested
cancelRequested:
boolean
indicates if the workflow received a cancel request
executionExpirationTime?
optionalexecutionExpirationTime?:$Properties|null
Workflow execution expiration time is defined as workflow start time plus expiration timeout. Workflow start time may change after workflow reset.
lastResetTime?
optionallastResetTime?:$Properties|null
Last workflow reset time. Nil if the workflow was never reset.
originalStartTime?
optionaloriginalStartTime?:$Properties|null
Original workflow start time.
pauseInfo?
optionalpauseInfo?:$Properties|null
Information about the workflow execution pause operation.
propagatedNexusSerializationContext?
optionalpropagatedNexusSerializationContext?:$Properties|null
Serialization context propagated from the Nexus caller that started this workflow.
requestIdInfos
requestIdInfos:
object
Request ID information (eg: history event information associated with the request ID). Note: It only contains request IDs from StartWorkflowExecution requests, including indirect calls (eg: if SignalWithStartWorkflowExecution starts a new workflow, then the request ID is used in the StartWorkflowExecution request).
Index Signature
[k: string]: $Properties
resetRunId
resetRunId:
string
Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.
runExpirationTime?
optionalrunExpirationTime?:$Properties|null
Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.
timeSkippingInfo?
optionaltimeSkippingInfo?:$Properties|null
Information about time skipping of the workflow execution. If the execution has never enabled time skipping, it will be nil.
Methods
toJSON()
toJSON():
object
Converts this WorkflowExecutionExtendedInfo to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkflowExecutionExtendedInfo&$Properties
Creates a new WorkflowExecutionExtendedInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionExtendedInfo & $Properties
WorkflowExecutionExtendedInfo instance
Call Signature
staticcreate(properties?):WorkflowExecutionExtendedInfo
Creates a new WorkflowExecutionExtendedInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecutionExtendedInfo
WorkflowExecutionExtendedInfo instance
decode()
staticdecode(reader,length?):WorkflowExecutionExtendedInfo&$Properties
Decodes a WorkflowExecutionExtendedInfo 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
WorkflowExecutionExtendedInfo & $Properties
WorkflowExecutionExtendedInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):WorkflowExecutionExtendedInfo&$Properties
Decodes a WorkflowExecutionExtendedInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
WorkflowExecutionExtendedInfo & $Properties
WorkflowExecutionExtendedInfo
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 WorkflowExecutionExtendedInfo message. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.verify|verify messages.
Parameters
message
WorkflowExecutionExtendedInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkflowExecutionExtendedInfo message, length delimited. Does not implicitly temporal.api.workflow.v1.WorkflowExecutionExtendedInfo.verify|verify messages.
Parameters
message
WorkflowExecutionExtendedInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkflowExecutionExtendedInfo
Creates a WorkflowExecutionExtendedInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WorkflowExecutionExtendedInfo
WorkflowExecutionExtendedInfo
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkflowExecutionExtendedInfo message. Also converts values to other types if specified.
Parameters
message
WorkflowExecutionExtendedInfo
WorkflowExecutionExtendedInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object