Class WorkflowExecutionSnapshot
- Namespace
- WorkflowForge.Extensions.Persistence.Abstractions
- Assembly
- WorkflowForge.Extensions.Persistence.dll
Represents a persisted snapshot of a workflow execution. Consumers are responsible for serialization, storage, and schema evolution.
public sealed class WorkflowExecutionSnapshot
- Inheritance
-
WorkflowExecutionSnapshot
- Inherited Members
Properties
FoundryExecutionId
The foundry execution identifier associated with this snapshot.
public Guid FoundryExecutionId { get; set; }
Property Value
NextOperationIndex
Index of the next operation to execute. -1 indicates not started; value N means operation at index N is next.
public int NextOperationIndex { get; set; }
Property Value
Properties
Arbitrary key-value state captured from foundry properties. Only store what is necessary for resumption.
public Dictionary<string, object?> Properties { get; set; }
Property Value
WorkflowId
The workflow identifier associated with this snapshot.
public Guid WorkflowId { get; set; }
Property Value
WorkflowName
The workflow name captured for diagnostic purposes.
public string WorkflowName { get; set; }