Table of Contents

Enum TaskReachability

Namespace
Temporalio.Api.Enums.V1
Assembly
Temporalio.dll

Specifies which category of tasks may reach a worker on a versioned task queue. Used both in a reachability query and its response.

public enum TaskReachability

Fields

[OriginalName("TASK_REACHABILITY_CLOSED_WORKFLOWS")] ClosedWorkflows = 4

There's a possiblity for a worker to receive existing workflow tasks from closed workflows. Workers may be retired dependending on application requirements. For example, if there's no need to query closed workflows.

[OriginalName("TASK_REACHABILITY_EXISTING_WORKFLOWS")] ExistingWorkflows = 2

There's a possiblity for a worker to receive existing workflow and activity tasks from existing workflows. Workers should not be retired. This enum value does not distinguish between open and closed workflows.

[OriginalName("TASK_REACHABILITY_NEW_WORKFLOWS")] NewWorkflows = 1

There's a possiblity for a worker to receive new workflow tasks. Workers should not be retired.

[OriginalName("TASK_REACHABILITY_OPEN_WORKFLOWS")] OpenWorkflows = 3

There's a possiblity for a worker to receive existing workflow and activity tasks from open workflows. Workers should not be retired.

[OriginalName("TASK_REACHABILITY_UNSPECIFIED")] Unspecified = 0