Represents an active workflow execution with its current state and progress.

Members

MemberKindDescription
WorkflowExecution(string executionId, string workflowId, ExecutionContext context)MethodInitializes a new instance of the WorkflowExecution class. The unique execution ID. The ID of the workflow being executed. The execution context.
string ExecutionIdPropertyGets the unique execution ID.
string WorkflowIdPropertyGets the ID of the workflow being executed.
ExecutionContext ContextPropertyGets the execution context.
WorkflowStatus StatusPropertyGets or sets the current status of the execution.
DateTime CreatedTimePropertyGets the time when the execution was created.
DateTime? StartTimePropertyGets or sets the time when the execution started.
DateTime? EndTimePropertyGets or sets the time when the execution completed.
TimeSpan? ExecutionTimePropertyGets the total execution time.
string CurrentNodeIdPropertyGets or sets the current node being executed.
IList<NodeExecution> NodeExecutionsPropertyGets the collection of node executions within this workflow execution.
WorkflowResult ResultPropertyGets or sets the final result of the workflow execution.
string ErrorMessagePropertyGets or sets error information if the execution failed.
Dictionary<string, object> MetadataPropertyGets or sets additional metadata about the execution.

Related