.NET API
WorkflowRequestRecord
Tracon.Abstractions.dllOne request a workflow run waits on, as the inbox stores it.
public sealed record WorkflowRequestRecord : IEquatable<WorkflowRequestRecord>- Inheritance
- object ← WorkflowRequestRecord
- Implements
- IEquatable<WorkflowRequestRecord>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”WorkflowRequestRecord()
Section titled “ WorkflowRequestRecord()”public WorkflowRequestRecord()Properties
Section titled “Properties”AnsweredAt
Section titled “ AnsweredAt”Gets when the request was first answered (UTC); null while nobody has answered.
public DateTimeOffset? AnsweredAt { get; init; }Property Value
Section titled “Property Value”ClosedAt
Section titled “ ClosedAt”Gets when the row was closed (UTC); null while it is open.
public DateTimeOffset? ClosedAt { get; init; }Property Value
Section titled “Property Value”EventSequence
Section titled “ EventSequence”Gets the sequence number of the run’s RunEventType.WorkflowRequest event that holds the request, where the prompt and the form are read.
public required long EventSequence { get; init; }Property Value
Section titled “Property Value”ExpiresAt
Section titled “ ExpiresAt”Gets when the request expires (UTC), or null when the workflow sets no WorkflowDefinition.RequestTimeout. Fixed when the row is written: a later edit of the workflow does not move it.
public DateTimeOffset? ExpiresAt { get; init; }Property Value
Section titled “Property Value”LastResponseRunId
Section titled “ LastResponseRunId”Gets the run that carried out the latest answer; null while nobody has answered.
public Guid? LastResponseRunId { get; init; }Property Value
Section titled “Property Value”Guid?
PortId
Section titled “ PortId”Gets the id of the port that published the request; empty when the event did not carry it.
public string PortId { get; init; }Property Value
Section titled “Property Value”RequestId
Section titled “ RequestId”Gets the request id the answer must carry.
public required string RequestId { get; init; }Property Value
Section titled “Property Value”RequestedAt
Section titled “ RequestedAt”Gets when the run published the request (UTC).
public required DateTimeOffset RequestedAt { get; init; }Property Value
Section titled “Property Value”Gets the run that waits on the request.
public required Guid RunId { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”Gets the execution session the run belongs to. Runs that continue one another share it.
public required string SessionId { get; init; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets whether the run still waits on the request.
public WorkflowRequestStatus Status { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant the row belongs to. Set when it is written; not part of any HTTP response.
[JsonIgnore]public string? TenantId { get; init; }Property Value
Section titled “Property Value”WorkflowName
Section titled “ WorkflowName”Gets the name of the workflow.
public required string WorkflowName { 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(WorkflowRequestRecord?)
Section titled “ Equals(WorkflowRequestRecord?)”public bool Equals(WorkflowRequestRecord? other)Parameters
Section titled “Parameters”other WorkflowRequestRecord?
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 ==(WorkflowRequestRecord?, WorkflowRequestRecord?)
Section titled “ operator ==(WorkflowRequestRecord?, WorkflowRequestRecord?)”public static bool operator ==(WorkflowRequestRecord? left, WorkflowRequestRecord? right)Parameters
Section titled “Parameters”left WorkflowRequestRecord?
right WorkflowRequestRecord?
Returns
Section titled “Returns”operator !=(WorkflowRequestRecord?, WorkflowRequestRecord?)
Section titled “ operator !=(WorkflowRequestRecord?, WorkflowRequestRecord?)”public static bool operator !=(WorkflowRequestRecord? left, WorkflowRequestRecord? right)Parameters
Section titled “Parameters”left WorkflowRequestRecord?
right WorkflowRequestRecord?