.NET API
WorkflowResumeRequest
Tracon.Abstractions.dllThe information needed to resume a workflow from a checkpoint.
public sealed record WorkflowResumeRequest : IEquatable<WorkflowResumeRequest>- Inheritance
- object ← WorkflowResumeRequest
- Implements
- IEquatable<WorkflowResumeRequest>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”WorkflowResumeRequest()
Section titled “ WorkflowResumeRequest()”public WorkflowResumeRequest()Properties
Section titled “Properties”CheckpointId
Section titled “ CheckpointId”The identifier of the checkpoint to resume from. If left empty, that run’s most recent checkpoint is used.
public string? CheckpointId { get; init; }Property Value
Section titled “Property Value”DefinitionVersion
Section titled “ DefinitionVersion”The version of the workflow’s stored definition to resume with. null (the default) resumes with the version the source run recorded, so an edit made while the run waited does not change what resumes.
public int? DefinitionVersion { get; init; }Property Value
Section titled “Property Value”int?
Remarks
Section titled “Remarks”A source run that recorded no version (it predates version recording, or the workflow is defined in code) resumes with the current definition. A version the workflow does not have is refused with a TraconException before any run row is opened; the run never falls back to the current definition.
Naming a version whose graph differs from the one the checkpoint was written with fails the run with “the graph’s structure differs”: the checkpoint belongs to the graph it was written from. That is how an operator carries a run over a fix, when the fix did not change the structure.
NewRunId
Section titled “ NewRunId”The new run’s identifier. If given, the record is opened with this identifier.
public Guid? NewRunId { get; init; }Property Value
Section titled “Property Value”Guid?
The identifier of the run to resume.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(WorkflowResumeRequest?)
Section titled “ Equals(WorkflowResumeRequest?)”public bool Equals(WorkflowResumeRequest? other)Parameters
Section titled “Parameters”other WorkflowResumeRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(WorkflowResumeRequest?, WorkflowResumeRequest?)
Section titled “ operator ==(WorkflowResumeRequest?, WorkflowResumeRequest?)”public static bool operator ==(WorkflowResumeRequest? left, WorkflowResumeRequest? right)Parameters
Section titled “Parameters”left WorkflowResumeRequest?
right WorkflowResumeRequest?
Returns
Section titled “Returns”operator !=(WorkflowResumeRequest?, WorkflowResumeRequest?)
Section titled “ operator !=(WorkflowResumeRequest?, WorkflowResumeRequest?)”public static bool operator !=(WorkflowResumeRequest? left, WorkflowResumeRequest? right)Parameters
Section titled “Parameters”left WorkflowResumeRequest?
right WorkflowResumeRequest?