WorkflowExecutionInfo class

Contains information about a workflow execution.

Constructors

WorkflowExecutionInfo({required WorkflowExecution execution, required ExecutionStatus executionStatus, required DateTime startTimestamp, required WorkflowType workflowType, bool? cancelRequested, CloseStatus? closeStatus, DateTime? closeTimestamp, WorkflowExecution? parent, List<String>? tagList})
WorkflowExecutionInfo.fromJson(Map<String, dynamic> json)
factory

Properties

cancelRequested bool?
Set to true if a cancellation is requested for this workflow execution.
final
closeStatus CloseStatus?
If the execution status is closed then this specifies how the execution was closed:
final
closeTimestamp DateTime?
The time when the workflow execution was closed. Set only if the execution status is CLOSED.
final
execution WorkflowExecution
The workflow execution this information is about.
final
executionStatus ExecutionStatus
The current status of the execution.
final
hashCode int
The hash code for this object.
no setterinherited
parent WorkflowExecution?
If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTimestamp DateTime
The time when the execution was started.
final
tagList List<String>?
The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.
final
workflowType WorkflowType
The type of the workflow execution.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited