Class: WorkflowExecution
Identifies a specific workflow within a namespace. Practically speaking, because run_id is a uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty run id as a way of saying "target the latest run of the workflow".
Properties
runId
runId:
string
WorkflowExecution runId.
workflowId
workflowId:
string
WorkflowExecution workflowId.
Methods
toJSON()
toJSON():
object
Converts this WorkflowExecution to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkflowExecution&$Properties
Creates a new WorkflowExecution instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecution & $Properties
WorkflowExecution instance
Call Signature
staticcreate(properties?):WorkflowExecution
Creates a new WorkflowExecution instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowExecution
WorkflowExecution instance
decode()
staticdecode(reader,length?):WorkflowExecution&$Properties
Decodes a WorkflowExecution 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
WorkflowExecution & $Properties
WorkflowExecution
Throws
If the payload is not a reader or valid buffer