Skip to content

WorkflowCheckpointState

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Provides shared constants for checkpoint state.

public static class WorkflowCheckpointState

objectWorkflowCheckpointState

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

WorkflowCheckpointRecord.State is a required field, but listing queries deliberately do not read the payload: a checkpoint can carry kilobytes of opaque JSON, and including it in a list would make the UI unusable. This type expresses “the payload is not present in this record” with an explicit value instead of null - making the field nullable would mean silently accepting an empty payload from a genuine read as well.

Gets the value that marks a listing query as not having read the state payload.

public static JsonElement Omitted { get; }

JsonElement

Reports whether the given state is an unread placeholder.

public static bool IsOmitted(JsonElement state)

state JsonElement

The state to check.

bool

true if the payload was not read.