Table of Contents

Class WorkflowExecution

Namespace
Temporalio.Client
Assembly
Temporalio.dll

Representation of a workflow execution.

public class WorkflowExecution
Inheritance
WorkflowExecution
Derived
Inherited Members

Properties

CloseTime

Gets when the workflow was closed if closed.

public DateTime? CloseTime { get; }

Property Value

DateTime?

ExecutionTime

Gets when the workflow run started or should start.

public DateTime? ExecutionTime { get; }

Property Value

DateTime?

HistoryLength

Gets the number of events in history.

public int HistoryLength { get; }

Property Value

int

ID

Gets the ID for the workflow.

public string ID { get; }

Property Value

string

Memo

Gets the workflow memo dictionary, lazily creating when accessed.

public IReadOnlyDictionary<string, IEncodedRawValue> Memo { get; }

Property Value

IReadOnlyDictionary<string, IEncodedRawValue>

ParentID

Gets the ID for the parent workflow if this was started as a child.

public string? ParentID { get; }

Property Value

string

ParentRunID

Gets the run ID for the parent workflow if this was started as a child.

public string? ParentRunID { get; }

Property Value

string

RunID

Gets the run ID for the workflow.

public string RunID { get; }

Property Value

string

StartTime

Gets when the workflow was created.

public DateTime StartTime { get; }

Property Value

DateTime

Status

Gets the status for the workflow.

public WorkflowExecutionStatus Status { get; }

Property Value

WorkflowExecutionStatus

TaskQueue

Gets the task queue for the workflow.

public string TaskQueue { get; }

Property Value

string

TypedSearchAttributes

Gets the search attributes on the workflow.

public SearchAttributeCollection TypedSearchAttributes { get; }

Property Value

SearchAttributeCollection

Remarks

This is lazily converted on first access.

WorkflowType

Gets the type name of the workflow.

public string WorkflowType { get; }

Property Value

string