Skip to content
Tracon

WorkflowRequestRecord

Namespace Tracon · Assembly Tracon.Abstractions.dll

One 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()
public WorkflowRequestRecord()

Gets when the request was first answered (UTC); null while nobody has answered.

public DateTimeOffset? AnsweredAt { get; init; }

DateTimeOffset?

Gets when the row was closed (UTC); null while it is open.

public DateTimeOffset? ClosedAt { get; init; }

DateTimeOffset?

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; }

long

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; }

DateTimeOffset?

Gets the run that carried out the latest answer; null while nobody has answered.

public Guid? LastResponseRunId { get; init; }

Guid?

Gets the id of the port that published the request; empty when the event did not carry it.

public string PortId { get; init; }

string

Gets the request id the answer must carry.

public required string RequestId { get; init; }

string

Gets when the run published the request (UTC).

public required DateTimeOffset RequestedAt { get; init; }

DateTimeOffset

Gets the run that waits on the request.

public required Guid RunId { get; init; }

Guid

Gets the execution session the run belongs to. Runs that continue one another share it.

public required string SessionId { get; init; }

string

Gets whether the run still waits on the request.

public WorkflowRequestStatus Status { get; init; }

WorkflowRequestStatus

Gets the tenant the row belongs to. Set when it is written; not part of any HTTP response.

[JsonIgnore]
public string? TenantId { get; init; }

string?

Gets the name of the workflow.

public required string WorkflowName { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(WorkflowRequestRecord? other)

other WorkflowRequestRecord?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(WorkflowRequestRecord?, WorkflowRequestRecord?)

Section titled “ operator ==(WorkflowRequestRecord?, WorkflowRequestRecord?)”
public static bool operator ==(WorkflowRequestRecord? left, WorkflowRequestRecord? right)

left WorkflowRequestRecord?

right WorkflowRequestRecord?

bool

operator !=(WorkflowRequestRecord?, WorkflowRequestRecord?)

Section titled “ operator !=(WorkflowRequestRecord?, WorkflowRequestRecord?)”
public static bool operator !=(WorkflowRequestRecord? left, WorkflowRequestRecord? right)

left WorkflowRequestRecord?

right WorkflowRequestRecord?

bool