.NET API
WorkflowResponseRecord
Tracon.Abstractions.dllOne answer to a workflow’s pending human request.
public sealed record WorkflowResponseRecord : IEquatable<WorkflowResponseRecord>- Inheritance
- object ← WorkflowResponseRecord
- Implements
- IEquatable<WorkflowResponseRecord>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”WorkflowResponseRecord()
Section titled “ WorkflowResponseRecord()”public WorkflowResponseRecord()Properties
Section titled “Properties”AnswerHash
Section titled “ AnswerHash”Gets the SHA-256 of the answer, as 64 lowercase hexadecimal characters.
public required string AnswerHash { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The hash tells two answers apart; it does not hide the answer. An answer with few possible values, such as a yes/no, can be recovered from it by trying each value.
ClaimScope
Section titled “ ClaimScope”Gets the scope of the single-answer claim this record holds, or null for an answer to a WorkflowResponseMode.Branch workflow, which claims nothing.
public string? ClaimScope { get; init; }Property Value
Section titled “Property Value”RequestId
Section titled “ RequestId”Gets the id of the request that was answered.
public required string RequestId { get; init; }Property Value
Section titled “Property Value”RespondedAt
Section titled “ RespondedAt”Gets when the answer was accepted (UTC).
public required DateTimeOffset RespondedAt { get; init; }Property Value
Section titled “Property Value”RespondedBy
Section titled “ RespondedBy”Gets who answered, as the audit trail names the actor; null when unknown.
public string? RespondedBy { get; init; }Property Value
Section titled “Property Value”ResponseRunId
Section titled “ ResponseRunId”Gets the run the answer started. It identifies the record.
public required Guid ResponseRunId { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”Gets the execution session the two runs share.
public required string SessionId { get; init; }Property Value
Section titled “Property Value”SourceRunId
Section titled “ SourceRunId”Gets the run that waited for the answer.
public required Guid SourceRunId { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the state of the answer.
public WorkflowResponseStatus Status { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant the record belongs to. Set when it is written; not part of the HTTP response.
[JsonIgnore]public string? TenantId { 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(WorkflowResponseRecord?)
Section titled “ Equals(WorkflowResponseRecord?)”public bool Equals(WorkflowResponseRecord? other)Parameters
Section titled “Parameters”other WorkflowResponseRecord?
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 ==(WorkflowResponseRecord?, WorkflowResponseRecord?)
Section titled “ operator ==(WorkflowResponseRecord?, WorkflowResponseRecord?)”public static bool operator ==(WorkflowResponseRecord? left, WorkflowResponseRecord? right)Parameters
Section titled “Parameters”left WorkflowResponseRecord?
right WorkflowResponseRecord?
Returns
Section titled “Returns”operator !=(WorkflowResponseRecord?, WorkflowResponseRecord?)
Section titled “ operator !=(WorkflowResponseRecord?, WorkflowResponseRecord?)”public static bool operator !=(WorkflowResponseRecord? left, WorkflowResponseRecord? right)Parameters
Section titled “Parameters”left WorkflowResponseRecord?
right WorkflowResponseRecord?