StellaOps.Workflow.Contracts

Workflow contracts: the definition, request and response types shared by workflow definitions, hosts and clients.

library
Component
Workflow
Licence
BUSL-1.1 (Workflow licence)
Target framework
net10.0
Latest release
1.0.1-20261118T121708Z

Install

dotnet add package StellaOps.Workflow.Contracts --version 1.0.1-20261118T121708Z

Namespaces

NamespaceTypes
StellaOps.Workflow.Contracts162
StellaOps.Workflow.Contracts.Constants7

namespace StellaOps.Workflow.Contracts

TypeKindDescription
StartWorkflowDeduplicationenumHow a start treats an instance of the same workflow that is already open.
StartWorkflowRequestrecordStarts an instance of a registered workflow (POST /api/workflow/start).
StartWorkflowResponserecordThe result of a start: the instance, the tasks it opened and its state.
WorkflowActivateTaskStepDeclarationrecordOpens a declared human task; the instance waits until a user completes it ("$type": "activate-task").
WorkflowArrayExpressionDefinitionrecordAn array of expressions ("$type": "array").
WorkflowAssignBusinessReferenceStepDeclarationrecordSets the business reference of the instance ("$type": "assign-business-reference").
WorkflowBinaryExpressionDefinitionrecordA binary operation ("$type": "binary").
WorkflowBooleanExpressionDefinitionrecordA Boolean literal ("$type": "boolean").
WorkflowBusinessReferencerecordThe business reference of a workflow instance: a key and its named parts, by which instances and tasks are found.
WorkflowBusinessReferenceDeclarationrecordHow a business reference is computed.
WorkflowCancelRequestrecordCancels an instance: raises an external signal for it, after starting a cleanup workflow when one is named and the cleanup policy allows it.
WorkflowCancelResponserecordThe answer to a cancel request.
WorkflowCanonicalDefinitionrecordA canonical workflow definition: the portable, JSON form of a workflow that the engine imports, validates and runs.
WorkflowCanonicalDefinitionSchemaclassThe schema versions of canonical workflow definitions.
WorkflowCanonicalIssueDtorecordA finding of the canonical definition validation.
WorkflowCanonicalJsonSerializerclassReads and writes canonical definitions as JSON, byte-identical across platforms.
WorkflowCanonicalSchemaGetResponserecordThe JSON schema of canonical workflow definitions.
WorkflowCanonicalValidateRequestrecordValidates a canonical definition without importing it.
WorkflowCanonicalValidateResponserecordThe outcome of a canonical definition validation.
WorkflowCanonicalValidationIssuerecordA finding of the canonical definition validation.
WorkflowCompleteStepDeclarationrecordCompletes the instance ("$type": "complete").
WorkflowContinueWithWorkflowStepDeclarationrecordStarts another workflow as an independent instance and continues at once; its result is not returned ("$type": "continue-with-workflow").
WorkflowDecisionStepDeclarationrecordBranches on a condition ("$type": "decision").
WorkflowDefinitionActivateRequestrecordMakes a stored version the active version of its workflow.
WorkflowDefinitionActivateResponserecordThe answer to an activation.
WorkflowDefinitionByIdRequestrecordReads one workflow definition: a code-registered workflow first, the definition store otherwise.
WorkflowDefinitionByIdResponserecordOne workflow definition.
WorkflowDefinitionDescriptorrecordA workflow definition: its name, version, roles and human tasks.
WorkflowDefinitionExportMultiRequestrecordExports a definition in a source format.
WorkflowDefinitionExportMultiResponserecordA definition exported in a source format.
WorkflowDefinitionExportRequestrecordExports a stored workflow definition.
WorkflowDefinitionExportResponserecordAn exported workflow definition.
WorkflowDefinitionGetRequestrecordLists workflow definitions.
WorkflowDefinitionGetResponserecordA page of workflow definitions.
WorkflowDefinitionImportMultiRequestrecordImports a definition from a source format: it is converted to the canonical definition, then imported.
WorkflowDefinitionImportMultiResponserecordThe answer to an import from a source format.
WorkflowDefinitionImportRequestrecordImports a canonical definition as a new version, which stays inactive until it is activated.
WorkflowDefinitionImportResponserecordThe answer to a definition import.
WorkflowDefinitionVersionSummaryrecordOne stored version of a workflow definition.
WorkflowDefinitionVersionsGetRequestrecordLists the stored versions of a workflow.
WorkflowDefinitionVersionsGetResponserecordThe stored versions of a workflow.
WorkflowDesignatedWorkflowrecordA workflow in the first-seen ledger, as first seen.
WorkflowDesignatedWorkflowsGetResponserecordThe Designated Workflows of the installation as the first-seen ledger records them: every workflow ever registered in code or stored in the definition store, one entry per workflow, versions not counted.
WorkflowDiagramEdgerecordA routed edge of a workflow diagram.
WorkflowDiagramEdgeSectionrecordA routed section of a diagram edge.
WorkflowDiagramGetRequestrecordLays out the diagram of a workflow definition, optionally with the progress of an instance.
WorkflowDiagramGetResponserecordA laid-out workflow diagram.
WorkflowDiagramNoderecordA positioned node of a workflow diagram, with its progress when the diagram shows an instance.
WorkflowDiagramPointrecordA point of a diagram edge.
WorkflowEndpointAddressDeclarationrecordAn HTTP endpoint of a named service ("$type": "endpoint"): the host resolves the service name to a base address, and the call goes to WorkflowEndpointAddressDeclaration.Pathwith WorkflowEndpointAddressDeclaration.Method.
WorkflowEndpointRequestrecordA call of an HTTP endpoint of a named service; the host’s endpoint transport delivers it.
WorkflowEndpointResponserecordThe answer of an endpoint transport.
WorkflowExecutionGraphrecordThe scopes and steps of a workflow execution as a graph.
WorkflowExecutionGraphEdgerecordAn edge of an execution graph.
WorkflowExecutionGraphNoderecordA node of an execution graph: a scope or a step.
WorkflowExecutionListItemrecordOne workflow execution of the console list.
WorkflowExecutionListRequestrecordLists workflow executions for the execution console, newest first.
WorkflowExecutionListResponserecordA page of workflow executions.
WorkflowExecutionResourceRequestrecordReads one resource of a workflow execution for the execution console.
WorkflowExecutionResourceResponserecordOne resource of a workflow execution.
WorkflowExecutionSnapshotrecordA task with the state of its workflow instance.
WorkflowExecutionSvgrecordThe execution graph drawn as SVG.
WorkflowExpressionDefinitionrecordAn expression of a canonical definition.
WorkflowExternalActivityStepDeclarationrecordDispatches durable work through a deployment-owned, signed adapter registry.
WorkflowExternalSignalStepDeclarationrecordPauses the instance until a caller raises the signal for it ("$type": "external-signal").
WorkflowForkStepDeclarationrecordRuns its branches concurrently and continues when the last one has finished ("$type": "fork").
WorkflowFunctionArgumentDescriptorrecordAn argument of an expression function.
WorkflowFunctionCatalogGetResponserecordThe expression functions the engine provides.
WorkflowFunctionDescriptorrecordAn expression function of the function catalog.
WorkflowFunctionExamplerecordAn example call of an expression function.
WorkflowFunctionExpressionDefinitionrecordA call of a function of the function catalog ("$type": "function").
WorkflowFunctionReturnDescriptorrecordThe return value of an expression function.
WorkflowGraphqlAddressDeclarationrecordA GraphQL query against a named target ("$type": "graphql").
WorkflowGraphqlRequestrecordA GraphQL query; the host’s GraphQL transport delivers it.
WorkflowGraphqlResponserecordThe answer of the GraphQL transport.
WorkflowGroupExpressionDefinitionrecordA parenthesized expression ("$type": "group").
WorkflowHttpAddressDeclarationrecordA call of a named HTTP target ("$type": "http").
WorkflowHttpRequestrecordA call of a named HTTP target; the host’s HTTP transport delivers it.
WorkflowHttpResponserecordThe answer of the HTTP transport.
WorkflowInstanceGetRequestrecordLooks up one instance (GET /api/workflow/instances/{id}).
WorkflowInstanceGetResponserecordOne instance with its state, tasks, task events and runtime state.
WorkflowInstanceProjectionDetailsrecordA workflow instance with its state, tasks and task events.
WorkflowInstanceSummaryrecordA workflow instance in a list or a lookup.
WorkflowInstancesGetRequestrecordThe filters, paging and sort of an instance list (GET /api/workflow/instances).
WorkflowInstancesGetResponserecordA page of instances and the total number that match the filters.
WorkflowLicenceNoticerecordThe licence notice the engine shows: “Licensed to” the licensee of the licence line whose entry covers the running version, or the message of the notice case.
WorkflowLicenceStatusrecordThe licence status of one licence evaluation: the status name, its factual message and the licence-status explanation that accompanies the messages.
WorkflowMapStepDeclarationrecordRuns its body once per item of a collection, with bounded concurrency and a deterministic fan-in ("$type": "map").
WorkflowModuleInforecordA function module installed in the engine.
WorkflowNamedExpressionDefinitionrecordA named expression: an object property or a business reference part.
WorkflowNullExpressionDefinitionrecordThe null value ("$type": "null").
WorkflowNumberExpressionDefinitionrecordA number literal ("$type": "number"); arithmetic is decimal.
WorkflowObjectExpressionDefinitionrecordAn object built from named expressions ("$type": "object").
WorkflowOpenBusinessKeySlotclassRules of the open-business-key slot (StartWorkflowDeduplication.OpenBusinessKey).
WorkflowPathExpressionDefinitionrecordReads a value by path ("$type": "path").
WorkflowRabbitAddressDeclarationrecordA RabbitMQ exchange and routing key ("$type": "rabbit").
WorkflowRabbitCommandDeclarationrecordThe command-style semantics of a rabbit call: the command name the peer dispatches on, how the message frames it, and whether the call waits for a correlated reply.
WorkflowRabbitCommandFramingenumHow a command-style rabbit message carries the command name and the payload.
WorkflowRabbitRequestrecordA RabbitMQ call; the host’s RabbitMQ transport delivers it.
WorkflowRabbitResponserecordThe answer of the RabbitMQ transport.
WorkflowRenderEdgeViewrecordAn edge of a definition diagram.
WorkflowRenderGraphGetRequestrecordReads the render graph of a definition, for drawing it on the client.
WorkflowRenderGraphGetResponserecordThe render graph of a definition.
WorkflowRenderGraphViewrecordThe nodes and edges of a definition diagram.
WorkflowRenderNodeViewrecordA node of a definition diagram.
WorkflowRenderPortViewrecordA port of a diagram node.
WorkflowRenderingRequestrecordReads the stored rendering of a definition in one format.
WorkflowRenderingResponserecordThe stored rendering of a definition in one format.
WorkflowRepeatStepDeclarationrecordRuns its body while a condition holds, at most a number of times ("$type": "repeat").
WorkflowRequestContractDeclarationrecordThe contract of a workflow start request.
WorkflowRequiredModuleDeclarationrecordA function module a workflow needs.
WorkflowRetentionRunRequestrecordRuns the instance retention once: marks stale instances and tasks, and purges those past their purge date.
WorkflowRetentionRunResponserecordThe counts of a retention run.
WorkflowRetryPolicyDeclarationrecordHow failed map items are retried.
WorkflowRuntimeStateSummaryrecordThe state a runtime provider keeps for an instance.
WorkflowServiceMetadatarecordWhat a workflow service offers to tools.
WorkflowServiceMetadataGetResponserecordThe metadata of the workflow service.
WorkflowSetStateStepDeclarationrecordSets a state value ("$type": "set-state").
WorkflowSignalDeadLetterMessagerecordA dead-lettered signal.
WorkflowSignalDeadLetterReplayRequestrecordPuts a dead-lettered signal back on the signal queue.
WorkflowSignalDeadLetterReplayResponserecordThe outcome of a dead letter replay.
WorkflowSignalDeadLettersGetRequestrecordLists the dead-lettered signals.
WorkflowSignalDeadLettersGetResponserecordA page of dead-lettered signals.
WorkflowSignalPumpLastEventrecordOne signal pump event.
WorkflowSignalPumpStatsrecordThe counts of the signal pump of this process since it started.
WorkflowSignalPumpStatsGetResponserecordThe signal pump counts of this process.
WorkflowSignalPumpStatsSignalTyperecordThe signal pump counts of one signal type.
WorkflowSignalRaiseRequestrecordRaises a signal for a waiting instance (POST /api/workflow/signals/raise).
WorkflowSignalRaiseResponserecordThe answer to a raised signal.
WorkflowSortModelrecordServer-side sort request for list endpoints.
WorkflowSourceFormatDiagnosticDtorecordA finding of a source format conversion.
WorkflowStartDeclarationrecordWhat happens when a workflow instance starts.
WorkflowStepDeclarationrecordA step of a canonical definition.
WorkflowStepSequenceDeclarationrecordA sequence of steps.
WorkflowStringExpressionDefinitionrecordA string literal ("$type": "string").
WorkflowSubWorkflowStepDeclarationrecordRuns another workflow as a child and waits for it ("$type": "sub-workflow").
WorkflowSupportedFormatDescriptorrecordA source format of workflow definitions.
WorkflowSupportedFormatsGetRequestrecordLists the source formats the server converts.
WorkflowSupportedFormatsGetResponserecordThe source formats the server converts.
WorkflowTaskAssignRequestrecordAssigns a task to a user or to roles (POST /api/workflow/tasks/{id}/assign).
WorkflowTaskAssignResponserecordThe result of a task assignment.
WorkflowTaskCompleteRequestrecordCompletes a task as the acting user (POST /api/workflow/tasks/{id}/complete).
WorkflowTaskCompleteResponserecordThe result of a task completion.
WorkflowTaskDeclarationrecordA human task a workflow declares, which an activate-task step opens.
WorkflowTaskDescriptorrecordA human task a workflow definition declares.
WorkflowTaskEventSummaryrecordOne event in the history of a task, for example its assignment or completion.
WorkflowTaskGetRequestrecordLooks up one task (GET /api/workflow/tasks/{id}).
WorkflowTaskGetResponserecordOne task.
WorkflowTaskReleaseRequestrecordReleases an assigned task (POST /api/workflow/tasks/{id}/release).
WorkflowTaskReleaseResponserecordThe result of a task release.
WorkflowTaskSingleOpenSlotclassRules of the single-open task slot (WorkflowTaskDeclaration.SingleOpenSlot).
WorkflowTaskSummaryrecordA human task in a list, a lookup or the result of a start or a completion.
WorkflowTasksGetRequestrecordThe filters, paging and sort of a task list (GET /api/workflow/tasks).
WorkflowTasksGetResponserecordA page of tasks and the total number that match the filters.
WorkflowTerminateForkStepDeclarationrecordEnds the fork whose branch reaches it (a BPMN terminate end event inside a parallel subprocess): tasks still open in the other branches are cancelled, their waits are dropped, and the flow continues after the fork.
WorkflowTimelineResourcerecordA page of the history events of a workflow execution.
WorkflowTimerStepDeclarationrecordPauses the instance for a delay; the host process can restart in between ("$type": "timer").
WorkflowTransportAddressDeclarationrecordThe address of a transport call.
WorkflowTransportCallStepDeclarationrecordCalls a service over a transport ("$type": "call-transport").
WorkflowTransportInvocationDeclarationrecordThe address and payload of a transport call.
WorkflowUnaryExpressionDefinitionrecordA unary operation ("$type": "unary").
WorkflowWorkflowInvocationDeclarationrecordWhich workflow a step starts, with what payload and business reference.

enum StartWorkflowDeduplication

public enum StartWorkflowDeduplication

How a start treats an instance of the same workflow that is already open.

ValueDescription
None = 0Always create a new instance.
OpenBusinessKey = 1When an instance of the same workflow name and business reference key is open, return it instead of creating another. Projection stores enforce it across replicas with a unique open-business-key slot.

record StartWorkflowRequest

public sealed record StartWorkflowRequest

Starts an instance of a registered workflow (POST /api/workflow/start).

Members

MemberKindSummary
StartWorkflowRequest()constructorCreates an instance of StartWorkflowRequest.
BusinessReferencepropertyThe business reference of the new instance; overrides the business key of the start request.
DeduplicationpropertyWhether a start may reuse an open instance instead of creating one.
PayloadpropertyThe start request, bound to the workflow’s start request type.
WorkflowNamepropertyThe registered workflow to start.
WorkflowVersionpropertyA registered version; the latest registered version when not set.

constructor StartWorkflowRequest() #

public StartWorkflowRequest()

Creates an instance of StartWorkflowRequest.

property BusinessReference #

public WorkflowBusinessReference? BusinessReference { get; init; }

The business reference of the new instance; overrides the business key of the start request.

property Deduplication #

public StartWorkflowDeduplication Deduplication { get; init; }

Whether a start may reuse an open instance instead of creating one. Omitted from JSON when StartWorkflowDeduplication.None, so requests without it serialize as before.

property Payload #

public IDictionary<string, object?> Payload { get; init; }

The start request, bound to the workflow’s start request type.

property WorkflowName #

public required string WorkflowName { get; init; }

The registered workflow to start.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

A registered version; the latest registered version when not set.

record StartWorkflowResponse

public sealed record StartWorkflowResponse

The result of a start: the instance, the tasks it opened and its state.

Members

MemberKindSummary
StartWorkflowResponse()constructorCreates an instance of StartWorkflowResponse.
BusinessReferencepropertyThe business reference of the instance: its key and parts.
DeduplicatedpropertyTrue when the start returned an instance that was already open (StartWorkflowDeduplication.OpenBusinessKey); omitted from JSON when false.
NextTaskspropertyThe tasks the start opened.
WorkflowInstanceIdpropertyThe identifier of the started instance, or of the open instance a deduplicated start returned.
WorkflowNamepropertyThe workflow name.
WorkflowStatepropertyThe workflow state after the operation.
WorkflowVersionpropertyThe workflow version the instance runs.

constructor StartWorkflowResponse() #

public StartWorkflowResponse()

Creates an instance of StartWorkflowResponse.

property BusinessReference #

public WorkflowBusinessReference? BusinessReference { get; init; }

The business reference of the instance: its key and parts.

property Deduplicated #

public bool Deduplicated { get; init; }

True when the start returned an instance that was already open (StartWorkflowDeduplication.OpenBusinessKey); omitted from JSON when false.

property NextTasks #

public IReadOnlyCollection<WorkflowTaskSummary> NextTasks { get; init; }

The tasks the start opened.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The identifier of the started instance, or of the open instance a deduplicated start returned.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowState #

public IDictionary<string, object?> WorkflowState { get; init; }

The workflow state after the operation.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The workflow version the instance runs.

record WorkflowActivateTaskStepDeclaration

public sealed record WorkflowActivateTaskStepDeclaration : WorkflowStepDeclaration

Opens a declared human task; the instance waits until a user completes it ("$type": "activate-task").

Members

MemberKindSummary
WorkflowActivateTaskStepDeclaration()constructorCreates an instance of WorkflowActivateTaskStepDeclaration.
RuntimeRolesExpressionpropertyRoles computed from the state, which replace the task roles; when it yields no role, the task roles apply, or the workflow roles when the task has none.
TaskNamepropertyThe declared task to open.
TimeoutSecondspropertyOptional timeout for the human task in seconds.

constructor WorkflowActivateTaskStepDeclaration() #

public WorkflowActivateTaskStepDeclaration()

Creates an instance of WorkflowActivateTaskStepDeclaration.

property RuntimeRolesExpression #

public WorkflowExpressionDefinition? RuntimeRolesExpression { get; init; }

Roles computed from the state, which replace the task roles; when it yields no role, the task roles apply, or the workflow roles when the task has none.

property TaskName #

public required string TaskName { get; init; }

The declared task to open.

property TimeoutSeconds #

public int? TimeoutSeconds { get; init; }

Optional timeout for the human task in seconds. When null, no deadline is set — the task runs indefinitely until completed or purged by retention. When set, the task’s DeadlineUtc is computed as CreatedOnUtc + TimeoutSeconds.

record WorkflowArrayExpressionDefinition

public sealed record WorkflowArrayExpressionDefinition : WorkflowExpressionDefinition

An array of expressions ("$type": "array").

Members

MemberKindSummary
WorkflowArrayExpressionDefinition()constructorCreates an instance of WorkflowArrayExpressionDefinition.
ItemspropertyThe items.

constructor WorkflowArrayExpressionDefinition() #

public WorkflowArrayExpressionDefinition()

Creates an instance of WorkflowArrayExpressionDefinition.

property Items #

public IReadOnlyCollection<WorkflowExpressionDefinition> Items { get; init; }

The items.

record WorkflowAssignBusinessReferenceStepDeclaration

public sealed record WorkflowAssignBusinessReferenceStepDeclaration : WorkflowStepDeclaration

Sets the business reference of the instance ("$type": "assign-business-reference").

Members

MemberKindSummary
WorkflowAssignBusinessReferenceStepDeclaration()constructorCreates an instance of WorkflowAssignBusinessReferenceStepDeclaration.
BusinessReferencepropertyThe new business reference.

constructor WorkflowAssignBusinessReferenceStepDeclaration() #

public WorkflowAssignBusinessReferenceStepDeclaration()

Creates an instance of WorkflowAssignBusinessReferenceStepDeclaration.

property BusinessReference #

public required WorkflowBusinessReferenceDeclaration BusinessReference { get; init; }

The new business reference.

record WorkflowBinaryExpressionDefinition

public sealed record WorkflowBinaryExpressionDefinition : WorkflowExpressionDefinition

A binary operation ("$type": "binary").

Members

MemberKindSummary
WorkflowBinaryExpressionDefinition()constructorCreates an instance of WorkflowBinaryExpressionDefinition.
LeftpropertyThe left operand.
OperatorpropertyThe operator: eq, ne, and, or, gt, gte, lt, lte, add, subtract, multiply or divide, case-sensitive.
RightpropertyThe right operand.

constructor WorkflowBinaryExpressionDefinition() #

public WorkflowBinaryExpressionDefinition()

Creates an instance of WorkflowBinaryExpressionDefinition.

property Left #

public required WorkflowExpressionDefinition Left { get; init; }

The left operand.

property Operator #

public required string Operator { get; init; }

The operator: eq, ne, and, or, gt, gte, lt, lte, add, subtract, multiply or divide, case-sensitive. Arithmetic is decimal; division by zero fails the step.

property Right #

public required WorkflowExpressionDefinition Right { get; init; }

The right operand.

record WorkflowBooleanExpressionDefinition

public sealed record WorkflowBooleanExpressionDefinition : WorkflowExpressionDefinition

A Boolean literal ("$type": "boolean").

Members

MemberKindSummary
WorkflowBooleanExpressionDefinition()constructorCreates an instance of WorkflowBooleanExpressionDefinition.
ValuepropertyThe value.

constructor WorkflowBooleanExpressionDefinition() #

public WorkflowBooleanExpressionDefinition()

Creates an instance of WorkflowBooleanExpressionDefinition.

property Value #

public required bool Value { get; init; }

The value.

record WorkflowBusinessReference

public sealed record WorkflowBusinessReference

The business reference of a workflow instance: a key and its named parts, by which instances and tasks are found.

Members

MemberKindSummary
WorkflowBusinessReference()constructorCreates an instance of WorkflowBusinessReference.
KeypropertyThe reference key.
PartspropertyThe named parts of the reference; names compare ignoring case.

constructor WorkflowBusinessReference() #

public WorkflowBusinessReference()

Creates an instance of WorkflowBusinessReference.

property Key #

public string? Key { get; init; }

The reference key. When not set, the engine builds it from the parts, ordered by name (name=value|name=value). A key longer than 128 characters is shortened with a hash.

property Parts #

public IDictionary<string, object?> Parts { get; init; }

The named parts of the reference; names compare ignoring case.

record WorkflowBusinessReferenceDeclaration

public sealed record WorkflowBusinessReferenceDeclaration

How a business reference is computed.

Members

MemberKindSummary
WorkflowBusinessReferenceDeclaration()constructorCreates an instance of WorkflowBusinessReferenceDeclaration.
KeyExpressionpropertyThe key; built from the parts when not set.
PartspropertyThe named parts.

constructor WorkflowBusinessReferenceDeclaration() #

public WorkflowBusinessReferenceDeclaration()

Creates an instance of WorkflowBusinessReferenceDeclaration.

property KeyExpression #

public WorkflowExpressionDefinition? KeyExpression { get; init; }

The key; built from the parts when not set.

property Parts #

public IReadOnlyCollection<WorkflowNamedExpressionDefinition> Parts { get; init; }

The named parts.

record WorkflowCancelRequest

public sealed record WorkflowCancelRequest

Cancels an instance: raises an external signal for it, after starting a cleanup workflow when one is named and the cleanup policy allows it.

Members

MemberKindSummary
WorkflowCancelRequest()constructorCreates an instance of WorkflowCancelRequest.
CleanupPayloadpropertyThe start payload of the cleanup workflow.
CleanupWorkflowNamepropertyThe workflow to start for the cleanup, when the cleanup policy allows it; none when not set.
SignalNamepropertyThe external signal the cancellation raises for the instance.
WorkflowInstanceIdpropertyThe instance to cancel.

constructor WorkflowCancelRequest() #

public WorkflowCancelRequest()

Creates an instance of WorkflowCancelRequest.

property CleanupPayload #

public IDictionary<string, object?> CleanupPayload { get; init; }

The start payload of the cleanup workflow.

property CleanupWorkflowName #

public string? CleanupWorkflowName { get; init; }

The workflow to start for the cleanup, when the cleanup policy allows it; none when not set.

property SignalName #

public string SignalName { get; init; }

The external signal the cancellation raises for the instance. The default is cancel.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The instance to cancel.

record WorkflowCancelResponse

public sealed record WorkflowCancelResponse

The answer to a cancel request.

Members

MemberKindSummary
WorkflowCancelResponse()constructorCreates an instance of WorkflowCancelResponse.
CancelledpropertyWhether the cancel signal was queued; false when the instance does not exist or is completed.
CleanupStartedpropertyWhether the cleanup workflow started.
CleanupWorkflowInstanceIdpropertyThe cleanup workflow instance, when it started.
SignalIdpropertyThe cancel signal.
WorkflowInstanceIdpropertyThe instance.

constructor WorkflowCancelResponse() #

public WorkflowCancelResponse()

Creates an instance of WorkflowCancelResponse.

property Cancelled #

public required bool Cancelled { get; init; }

Whether the cancel signal was queued; false when the instance does not exist or is completed.

property CleanupStarted #

public bool CleanupStarted { get; init; }

Whether the cleanup workflow started.

property CleanupWorkflowInstanceId #

public string? CleanupWorkflowInstanceId { get; init; }

The cleanup workflow instance, when it started.

property SignalId #

public string? SignalId { get; init; }

The cancel signal.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The instance.

record WorkflowCanonicalDefinition

public sealed record WorkflowCanonicalDefinition

A canonical workflow definition: the portable, JSON form of a workflow that the engine imports, validates and runs. WorkflowCanonicalJsonSerializerreads and writes it.

Members

MemberKindSummary
WorkflowCanonicalDefinition()constructorCreates an instance of WorkflowCanonicalDefinition.
BusinessReferencepropertyHow the business reference of an instance is computed at start.
DisplayNamepropertyThe display name.
RequiredCapabilitiespropertyThe capabilities the workflow declares it needs; none may be empty.
RequiredModulespropertyThe function modules the workflow needs.
SchemaVersionpropertyThe schema version; WorkflowCanonicalDefinitionSchema.Version1by default.
StartpropertyWhat happens when an instance starts.
StartRequestpropertyThe contract of the start request.
TaskspropertyThe human tasks the workflow declares.
WorkflowNamepropertyThe workflow name.
WorkflowRolespropertyThe roles of the workflow, which tasks use unless they declare their own.
WorkflowVersionpropertyThe workflow version.

constructor WorkflowCanonicalDefinition() #

public WorkflowCanonicalDefinition()

Creates an instance of WorkflowCanonicalDefinition.

property BusinessReference #

public WorkflowBusinessReferenceDeclaration? BusinessReference { get; init; }

How the business reference of an instance is computed at start.

property DisplayName #

public required string DisplayName { get; init; }

The display name.

property RequiredCapabilities #

public IReadOnlyCollection<string> RequiredCapabilities { get; init; }

The capabilities the workflow declares it needs; none may be empty.

property RequiredModules #

public IReadOnlyCollection<WorkflowRequiredModuleDeclaration> RequiredModules { get; init; }

The function modules the workflow needs.

property SchemaVersion #

public string SchemaVersion { get; init; }

The schema version; WorkflowCanonicalDefinitionSchema.Version1by default.

property Start #

public required WorkflowStartDeclaration Start { get; init; }

What happens when an instance starts.

property StartRequest #

public WorkflowRequestContractDeclaration? StartRequest { get; init; }

The contract of the start request.

property Tasks #

public IReadOnlyCollection<WorkflowTaskDeclaration> Tasks { get; init; }

The human tasks the workflow declares.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowRoles #

public IReadOnlyCollection<string> WorkflowRoles { get; init; }

The roles of the workflow, which tasks use unless they declare their own.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The workflow version.

class WorkflowCanonicalDefinitionSchema

public static class WorkflowCanonicalDefinitionSchema

The schema versions of canonical workflow definitions.

Members

MemberKindSummary
Version1constantThe first schema version of canonical definitions.

constant Version1 #

public const string Version1 = "stellaops.workflow.definition/v1"

The first schema version of canonical definitions.

record WorkflowCanonicalIssueDto

public sealed record WorkflowCanonicalIssueDto

A finding of the canonical definition validation.

Members

MemberKindSummary
WorkflowCanonicalIssueDto()constructorCreates an instance of WorkflowCanonicalIssueDto.
CodepropertyThe issue code.
MessagepropertyThe message.
PathpropertyThe path of the definition element.
SeveritypropertyThe severity, such as Error.

constructor WorkflowCanonicalIssueDto() #

public WorkflowCanonicalIssueDto()

Creates an instance of WorkflowCanonicalIssueDto.

property Code #

public required string Code { get; init; }

The issue code.

property Message #

public required string Message { get; init; }

The message.

property Path #

public required string Path { get; init; }

The path of the definition element.

property Severity #

public required string Severity { get; init; }

The severity, such as Error.

class WorkflowCanonicalJsonSerializer

public static class WorkflowCanonicalJsonSerializer

Reads and writes canonical definitions as JSON, byte-identical across platforms.

Members

MemberKindSummary
OptionspropertyThe serializer options of canonical JSON: camel case, nulls omitted, indented, LF line ends.
Deserialize(string)methodReads a definition from canonical JSON.
DeserializeFragment<TValue>(string)methodReads a part of a definition from canonical JSON.
Serialize(WorkflowCanonicalDefinition)methodWrites a definition as canonical JSON.
SerializeFragment<TValue>(TValue)methodWrites a part of a definition as canonical JSON.

property Options #

public static JsonSerializerOptions Options { get; }

The serializer options of canonical JSON: camel case, nulls omitted, indented, LF line ends.

method Deserialize(string) #

public static WorkflowCanonicalDefinition Deserialize(string json)

Reads a definition from canonical JSON.

Parameters

  • json: The JSON.

Returns

The definition.

Exceptions

  • JsonException: The JSON is not a definition.

method DeserializeFragment<TValue>(string) #

public static TValue DeserializeFragment<TValue>(string json)

Reads a part of a definition from canonical JSON.

Type parameters

  • TValue: The part type.

Parameters

  • json: The JSON.

Returns

The part.

Exceptions

  • JsonException: The JSON is not such a part.

method Serialize(WorkflowCanonicalDefinition) #

public static string Serialize(WorkflowCanonicalDefinition definition)

Writes a definition as canonical JSON.

Parameters

  • definition: The definition.

Returns

The JSON.

method SerializeFragment<TValue>(TValue) #

public static string SerializeFragment<TValue>(TValue value)

Writes a part of a definition as canonical JSON.

Type parameters

  • TValue: The part type.

Parameters

  • value: The part.

Returns

The JSON.

record WorkflowCanonicalSchemaGetResponse

public sealed record WorkflowCanonicalSchemaGetResponse

The JSON schema of canonical workflow definitions.

Members

MemberKindSummary
WorkflowCanonicalSchemaGetResponse()constructorCreates an instance of WorkflowCanonicalSchemaGetResponse.
SchemaJsonpropertyThe JSON schema of canonical definitions.
SchemaVersionpropertyThe schema version.

constructor WorkflowCanonicalSchemaGetResponse() #

public WorkflowCanonicalSchemaGetResponse()

Creates an instance of WorkflowCanonicalSchemaGetResponse.

property SchemaJson #

public required string SchemaJson { get; init; }

The JSON schema of canonical definitions.

property SchemaVersion #

public required string SchemaVersion { get; init; }

The schema version.

record WorkflowCanonicalValidateRequest

public sealed record WorkflowCanonicalValidateRequest

Validates a canonical definition without importing it.

Members

MemberKindSummary
WorkflowCanonicalValidateRequest()constructorCreates an instance of WorkflowCanonicalValidateRequest.
CanonicalDefinitionJsonpropertyThe canonical definition, as JSON.

constructor WorkflowCanonicalValidateRequest() #

public WorkflowCanonicalValidateRequest()

Creates an instance of WorkflowCanonicalValidateRequest.

property CanonicalDefinitionJson #

public required string CanonicalDefinitionJson { get; init; }

The canonical definition, as JSON.

record WorkflowCanonicalValidateResponse

public sealed record WorkflowCanonicalValidateResponse

The outcome of a canonical definition validation.

Members

MemberKindSummary
WorkflowCanonicalValidateResponse()constructorCreates an instance of WorkflowCanonicalValidateResponse.
InstalledModulespropertyThe function modules installed in the engine.
IsValidpropertyWhether the definition has no issue.
ModuleIssuespropertyThe findings about the modules the definition requires, checked against the installed ones.
SchemaIssuespropertyThe JSON schema findings.
SemanticIssuespropertyThe semantic findings.
WorkflowNamepropertyThe workflow name, when it could be read.
WorkflowVersionpropertyThe workflow version, when it could be read.

constructor WorkflowCanonicalValidateResponse() #

public WorkflowCanonicalValidateResponse()

Creates an instance of WorkflowCanonicalValidateResponse.

property InstalledModules #

public IReadOnlyCollection<WorkflowModuleInfo> InstalledModules { get; init; }

The function modules installed in the engine.

property IsValid #

public required bool IsValid { get; init; }

Whether the definition has no issue.

property ModuleIssues #

public IReadOnlyCollection<WorkflowCanonicalValidationIssue> ModuleIssues { get; init; }

The findings about the modules the definition requires, checked against the installed ones.

property SchemaIssues #

public IReadOnlyCollection<WorkflowCanonicalValidationIssue> SchemaIssues { get; init; }

The JSON schema findings.

property SemanticIssues #

public IReadOnlyCollection<WorkflowCanonicalValidationIssue> SemanticIssues { get; init; }

The semantic findings.

property WorkflowName #

public string? WorkflowName { get; init; }

The workflow name, when it could be read.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

The workflow version, when it could be read.

record WorkflowCanonicalValidationIssue

public sealed record WorkflowCanonicalValidationIssue

A finding of the canonical definition validation.

Members

MemberKindSummary
WorkflowCanonicalValidationIssue()constructorCreates an instance of WorkflowCanonicalValidationIssue.
CodepropertyThe issue code.
MessagepropertyThe message.
PathpropertyThe path of the definition element.

constructor WorkflowCanonicalValidationIssue() #

public WorkflowCanonicalValidationIssue()

Creates an instance of WorkflowCanonicalValidationIssue.

property Code #

public required string Code { get; init; }

The issue code.

property Message #

public required string Message { get; init; }

The message.

property Path #

public required string Path { get; init; }

The path of the definition element.

record WorkflowCompleteStepDeclaration

public sealed record WorkflowCompleteStepDeclaration : WorkflowStepDeclaration

Completes the instance ("$type": "complete").

Members

MemberKindSummary
WorkflowCompleteStepDeclaration()constructorCreates an instance of WorkflowCompleteStepDeclaration.

constructor WorkflowCompleteStepDeclaration() #

public WorkflowCompleteStepDeclaration()

Creates an instance of WorkflowCompleteStepDeclaration.

record WorkflowContinueWithWorkflowStepDeclaration

public sealed record WorkflowContinueWithWorkflowStepDeclaration : WorkflowStepDeclaration

Starts another workflow as an independent instance and continues at once; its result is not returned ("$type": "continue-with-workflow").

Members

MemberKindSummary
WorkflowContinueWithWorkflowStepDeclaration()constructorCreates an instance of WorkflowContinueWithWorkflowStepDeclaration.
InvocationpropertyThe workflow to start.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowContinueWithWorkflowStepDeclaration() #

public WorkflowContinueWithWorkflowStepDeclaration()

Creates an instance of WorkflowContinueWithWorkflowStepDeclaration.

property Invocation #

public required WorkflowWorkflowInvocationDeclaration Invocation { get; init; }

The workflow to start.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowDecisionStepDeclaration

public sealed record WorkflowDecisionStepDeclaration : WorkflowStepDeclaration

Branches on a condition ("$type": "decision").

Members

MemberKindSummary
WorkflowDecisionStepDeclaration()constructorCreates an instance of WorkflowDecisionStepDeclaration.
ConditionExpressionpropertyThe condition.
DecisionNamepropertyThe label of the decision in diagrams.
WhenElsepropertyThe steps to run otherwise.
WhenTruepropertyThe steps to run when the condition holds.

constructor WorkflowDecisionStepDeclaration() #

public WorkflowDecisionStepDeclaration()

Creates an instance of WorkflowDecisionStepDeclaration.

property ConditionExpression #

public required WorkflowExpressionDefinition ConditionExpression { get; init; }

The condition.

property DecisionName #

public required string DecisionName { get; init; }

The label of the decision in diagrams.

property WhenElse #

public WorkflowStepSequenceDeclaration WhenElse { get; init; }

The steps to run otherwise.

property WhenTrue #

public WorkflowStepSequenceDeclaration WhenTrue { get; init; }

The steps to run when the condition holds.

record WorkflowDefinitionActivateRequest

public sealed record WorkflowDefinitionActivateRequest

Makes a stored version the active version of its workflow.

Members

MemberKindSummary
WorkflowDefinitionActivateRequest()constructorCreates an instance of WorkflowDefinitionActivateRequest.
ActorIdpropertyWho activates, for the audit; the HTTP endpoint uses the caller and ignores this value.
AllowRollbackpropertyAllows activating a lower version than the active one; it must be set for such a rollback, with WorkflowDefinitionActivateRequest.RollbackOfAuditId, and must not be set otherwise.
ExpectedActiveSha256propertyThe content hash the caller expects the active version to have; checked with WorkflowDefinitionActivateRequest.ExpectedActiveVersion.
ExpectedActiveVersionpropertyThe version the caller expects to be active; it must match, and must not be set when no version is active, or the activation is refused with WORKFLOW_DEFINITION_ACTIVATION_FENCE_LOST.
ReasonCodepropertyWhy, for the audit; OPERATOR_ACTIVATION by default.
RollbackOfAuditIdpropertyThe audit record of the activation the rollback reverts; required for a rollback.
VersionpropertyThe version to activate.
WorkflowNamepropertyThe workflow name; the HTTP endpoint takes it from the route.

constructor WorkflowDefinitionActivateRequest() #

public WorkflowDefinitionActivateRequest()

Creates an instance of WorkflowDefinitionActivateRequest.

property ActorId #

public string ActorId { get; init; }

Who activates, for the audit; the HTTP endpoint uses the caller and ignores this value.

property AllowRollback #

public bool AllowRollback { get; init; }

Allows activating a lower version than the active one; it must be set for such a rollback, with WorkflowDefinitionActivateRequest.RollbackOfAuditId, and must not be set otherwise.

property ExpectedActiveSha256 #

public string? ExpectedActiveSha256 { get; init; }

The content hash the caller expects the active version to have; checked with WorkflowDefinitionActivateRequest.ExpectedActiveVersion.

property ExpectedActiveVersion #

public string? ExpectedActiveVersion { get; init; }

The version the caller expects to be active; it must match, and must not be set when no version is active, or the activation is refused with WORKFLOW_DEFINITION_ACTIVATION_FENCE_LOST.

property ReasonCode #

public string ReasonCode { get; init; }

Why, for the audit; OPERATOR_ACTIVATION by default.

property RollbackOfAuditId #

public string? RollbackOfAuditId { get; init; }

The audit record of the activation the rollback reverts; required for a rollback.

property Version #

public required string Version { get; init; }

The version to activate.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name; the HTTP endpoint takes it from the route.

record WorkflowDefinitionActivateResponse

public sealed record WorkflowDefinitionActivateResponse

The answer to an activation.

Members

MemberKindSummary
WorkflowDefinitionActivateResponse()constructorCreates an instance of WorkflowDefinitionActivateResponse.
ActivatedpropertyWhether the version was activated.
VersionpropertyThe activated version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionActivateResponse() #

public WorkflowDefinitionActivateResponse()

Creates an instance of WorkflowDefinitionActivateResponse.

property Activated #

public bool Activated { get; init; }

Whether the version was activated.

property Version #

public required string Version { get; init; }

The activated version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionByIdRequest

public sealed record WorkflowDefinitionByIdRequest

Reads one workflow definition: a code-registered workflow first, the definition store otherwise.

Members

MemberKindSummary
WorkflowDefinitionByIdRequest()constructorCreates an instance of WorkflowDefinitionByIdRequest.
IncludeRenderingpropertyInclude rendering assets (SVG, JSON, PNG) in the response.
VersionpropertySpecific version.
WorkflowNamepropertyWorkflow name to retrieve.

constructor WorkflowDefinitionByIdRequest() #

public WorkflowDefinitionByIdRequest()

Creates an instance of WorkflowDefinitionByIdRequest.

property IncludeRendering #

public bool IncludeRendering { get; init; }

Include rendering assets (SVG, JSON, PNG) in the response.

property Version #

public string? Version { get; init; }

Specific version. Null = active version.

property WorkflowName #

public required string WorkflowName { get; init; }

Workflow name to retrieve.

record WorkflowDefinitionByIdResponse

public sealed record WorkflowDefinitionByIdResponse

One workflow definition.

Members

MemberKindSummary
WorkflowDefinitionByIdResponse()constructorCreates an instance of WorkflowDefinitionByIdResponse.
CanonicalDefinitionJsonpropertyThe canonical definition, as JSON.
ContentHashpropertyThe content hash, when the definition is stored.
DisplayNamepropertyThe display name.
IsActivepropertyWhether the version is the active one.
RenderingJsonBase64propertyThe render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored.
RenderingPngBase64propertyThe PNG image, base64-encoded; set when the request asked for the rendering and one is stored.
RenderingSvgBase64propertyThe SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored.
Sourceproperty“catalog” when compiled from a code-registered workflow, “store” when served from the persistent import store.
VersionpropertyThe version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionByIdResponse() #

public WorkflowDefinitionByIdResponse()

Creates an instance of WorkflowDefinitionByIdResponse.

property CanonicalDefinitionJson #

public required string CanonicalDefinitionJson { get; init; }

The canonical definition, as JSON.

property ContentHash #

public string? ContentHash { get; init; }

The content hash, when the definition is stored.

property DisplayName #

public string? DisplayName { get; init; }

The display name.

property IsActive #

public bool IsActive { get; init; }

Whether the version is the active one.

property RenderingJsonBase64 #

public string? RenderingJsonBase64 { get; init; }

The render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored.

property RenderingPngBase64 #

public string? RenderingPngBase64 { get; init; }

The PNG image, base64-encoded; set when the request asked for the rendering and one is stored.

property RenderingSvgBase64 #

public string? RenderingSvgBase64 { get; init; }

The SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored.

property Source #

public string Source { get; init; }

“catalog” when compiled from a code-registered workflow, “store” when served from the persistent import store.

property Version #

public required string Version { get; init; }

The version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionDescriptor

public sealed record WorkflowDefinitionDescriptor

A workflow definition: its name, version, roles and human tasks.

Members

MemberKindSummary
WorkflowDefinitionDescriptor()constructorCreates an instance of WorkflowDefinitionDescriptor.
DisplayNamepropertyThe display name.
TaskspropertyThe human tasks.
WorkflowNamepropertyThe workflow name.
WorkflowRolespropertyThe workflow roles.
WorkflowVersionpropertyThe version.

constructor WorkflowDefinitionDescriptor() #

public WorkflowDefinitionDescriptor()

Creates an instance of WorkflowDefinitionDescriptor.

property DisplayName #

public required string DisplayName { get; init; }

The display name.

property Tasks #

public IReadOnlyCollection<WorkflowTaskDescriptor> Tasks { get; init; }

The human tasks.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowRoles #

public IReadOnlyCollection<string> WorkflowRoles { get; init; }

The workflow roles.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The version.

record WorkflowDefinitionExportMultiRequest

public sealed record WorkflowDefinitionExportMultiRequest

Exports a definition in a source format.

Members

MemberKindSummary
WorkflowDefinitionExportMultiRequest()constructorCreates an instance of WorkflowDefinitionExportMultiRequest.
FormatIdpropertyThe target format, as the supported formats list it.
VersionpropertyThe version; the active one when not set.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionExportMultiRequest() #

public WorkflowDefinitionExportMultiRequest()

Creates an instance of WorkflowDefinitionExportMultiRequest.

property FormatId #

public required string FormatId { get; init; }

The target format, as the supported formats list it.

property Version #

public string? Version { get; init; }

The version; the active one when not set.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionExportMultiResponse

public sealed record WorkflowDefinitionExportMultiResponse

A definition exported in a source format.

Members

MemberKindSummary
WorkflowDefinitionExportMultiResponse()constructorCreates an instance of WorkflowDefinitionExportMultiResponse.
ContentBase64propertyThe content, base64-encoded.
ContentTypepropertyThe media type of the content.
FormatIdpropertyThe format.
SuggestedFileNamepropertyA file name for the content.
VersionpropertyThe version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionExportMultiResponse() #

public WorkflowDefinitionExportMultiResponse()

Creates an instance of WorkflowDefinitionExportMultiResponse.

property ContentBase64 #

public required string ContentBase64 { get; init; }

The content, base64-encoded.

property ContentType #

public required string ContentType { get; init; }

The media type of the content.

property FormatId #

public required string FormatId { get; init; }

The format.

property SuggestedFileName #

public required string SuggestedFileName { get; init; }

A file name for the content.

property Version #

public required string Version { get; init; }

The version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionExportRequest

public sealed record WorkflowDefinitionExportRequest

Exports a stored workflow definition.

Members

MemberKindSummary
WorkflowDefinitionExportRequest()constructorCreates an instance of WorkflowDefinitionExportRequest.
IncludeRenderingpropertyInclude rendering assets (SVG, JSON, PNG) in the response.
VersionpropertySpecific version to export.
WorkflowNamepropertyWorkflow name to export.

constructor WorkflowDefinitionExportRequest() #

public WorkflowDefinitionExportRequest()

Creates an instance of WorkflowDefinitionExportRequest.

property IncludeRendering #

public bool IncludeRendering { get; init; }

Include rendering assets (SVG, JSON, PNG) in the response.

property Version #

public string? Version { get; init; }

Specific version to export. Null = export the active version.

property WorkflowName #

public required string WorkflowName { get; init; }

Workflow name to export.

record WorkflowDefinitionExportResponse

public sealed record WorkflowDefinitionExportResponse

An exported workflow definition.

Members

MemberKindSummary
WorkflowDefinitionExportResponse()constructorCreates an instance of WorkflowDefinitionExportResponse.
CanonicalDefinitionJsonpropertyThe canonical definition, as JSON.
ContentHashpropertyThe content hash of the definition.
IsActivepropertyWhether the version is the active one.
RenderingJsonBase64propertyThe render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored.
RenderingPngBase64propertyThe PNG image, base64-encoded; set when the request asked for the rendering and one is stored.
RenderingSvgBase64propertyThe SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored.
VersionpropertyThe exported version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionExportResponse() #

public WorkflowDefinitionExportResponse()

Creates an instance of WorkflowDefinitionExportResponse.

property CanonicalDefinitionJson #

public required string CanonicalDefinitionJson { get; init; }

The canonical definition, as JSON.

property ContentHash #

public required string ContentHash { get; init; }

The content hash of the definition.

property IsActive #

public bool IsActive { get; init; }

Whether the version is the active one.

property RenderingJsonBase64 #

public string? RenderingJsonBase64 { get; init; }

The render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored.

property RenderingPngBase64 #

public string? RenderingPngBase64 { get; init; }

The PNG image, base64-encoded; set when the request asked for the rendering and one is stored.

property RenderingSvgBase64 #

public string? RenderingSvgBase64 { get; init; }

The SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored.

property Version #

public required string Version { get; init; }

The exported version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionGetRequest

public sealed record WorkflowDefinitionGetRequest

Lists workflow definitions.

Members

MemberKindSummary
WorkflowDefinitionGetRequest()constructorCreates an instance of WorkflowDefinitionGetRequest.
FilterspropertyA client-side table filter collection that a request body may carry.
PagepropertyPagination (1-based) alternative that matches the UI table payload convention.
PageSizepropertySee WorkflowDefinitionGetRequest.Page.
SkippropertyPagination: rows to skip.
SortModelpropertyOptional sort.
TakepropertyPagination: max rows to return.
WorkflowNamepropertyA name filter: the name, or a part of it, ignoring case.
WorkflowNamespropertyFilter by multiple workflow names.
WorkflowVersionpropertyA version filter.

constructor WorkflowDefinitionGetRequest() #

public WorkflowDefinitionGetRequest()

Creates an instance of WorkflowDefinitionGetRequest.

property Filters #

public IReadOnlyCollection<object>? Filters { get; init; }

A client-side table filter collection that a request body may carry. The server ignores it and filters only by the named properties above; the property exists so that such a body is accepted.

property Page #

public int Page { get; init; }

Pagination (1-based) alternative that matches the UI table payload convention. When both are > 0 the server derives Skip = (Page - 1) * PageSize and Take = PageSize, taking precedence over explicit Skip/Take.

property PageSize #

public int PageSize { get; init; }

See WorkflowDefinitionGetRequest.Page.

property Skip #

public int Skip { get; init; }

Pagination: rows to skip. 0 = start from beginning.

property SortModel #

public WorkflowSortModel? SortModel { get; init; }

Optional sort. SortBy is whitelisted per-endpoint — for definitions the allowed values are “workflowName”, “workflowVersion”, “displayName”. Null sorts by a stable default.

property Take #

public int Take { get; init; }

Pagination: max rows to return. 0 = return all.

property WorkflowName #

public string? WorkflowName { get; init; }

A name filter: the name, or a part of it, ignoring case.

property WorkflowNames #

public IReadOnlyCollection<string> WorkflowNames { get; init; }

Filter by multiple workflow names.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

A version filter. With it, every matching version is returned; without it and without WorkflowDefinitionGetRequest.WorkflowNames, only the latest version of each workflow.

record WorkflowDefinitionGetResponse

public sealed record WorkflowDefinitionGetResponse

A page of workflow definitions.

Members

MemberKindSummary
WorkflowDefinitionGetResponse()constructorCreates an instance of WorkflowDefinitionGetResponse.
DefinitionspropertyThe definitions of the page.
TotalCountpropertyTotal number of definitions matching the filter (pre-pagination).

constructor WorkflowDefinitionGetResponse() #

public WorkflowDefinitionGetResponse()

Creates an instance of WorkflowDefinitionGetResponse.

property Definitions #

public IReadOnlyCollection<WorkflowDefinitionDescriptor> Definitions { get; init; }

The definitions of the page.

property TotalCount #

public int TotalCount { get; init; }

Total number of definitions matching the filter (pre-pagination).

record WorkflowDefinitionImportMultiRequest

public sealed record WorkflowDefinitionImportMultiRequest

Imports a definition from a source format: it is converted to the canonical definition, then imported.

Members

MemberKindSummary
WorkflowDefinitionImportMultiRequest()constructorCreates an instance of WorkflowDefinitionImportMultiRequest.
ContentBase64propertyThe source content, base64-encoded.
FormatIdpropertyThe source format, as the supported formats list it, such as canonical-yaml.
ImportedBypropertyWho imports; the HTTP endpoint records the caller instead.

constructor WorkflowDefinitionImportMultiRequest() #

public WorkflowDefinitionImportMultiRequest()

Creates an instance of WorkflowDefinitionImportMultiRequest.

property ContentBase64 #

public required string ContentBase64 { get; init; }

The source content, base64-encoded.

property FormatId #

public required string FormatId { get; init; }

The source format, as the supported formats list it, such as canonical-yaml.

property ImportedBy #

public string? ImportedBy { get; init; }

Who imports; the HTTP endpoint records the caller instead.

record WorkflowDefinitionImportMultiResponse

public sealed record WorkflowDefinitionImportMultiResponse

The answer to an import from a source format.

Members

MemberKindSummary
WorkflowDefinitionImportMultiResponse()constructorCreates an instance of WorkflowDefinitionImportMultiResponse.
CanonicalDefinitionJsonpropertyThe converted canonical definition, as JSON.
ContentHashpropertyThe content hash.
ConversionDiagnosticspropertyThe findings of the conversion.
IsActivepropertyWhether the version is the active one.
ValidationIssuespropertyThe findings of the validation.
VersionpropertyThe version.
WasImportedpropertyWhether a new version was stored; false when the content was already stored or the source was refused.
WasNewVersionpropertyWhether the import stored a new version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionImportMultiResponse() #

public WorkflowDefinitionImportMultiResponse()

Creates an instance of WorkflowDefinitionImportMultiResponse.

property CanonicalDefinitionJson #

public string? CanonicalDefinitionJson { get; init; }

The converted canonical definition, as JSON.

property ContentHash #

public string? ContentHash { get; init; }

The content hash.

property ConversionDiagnostics #

public IReadOnlyCollection<WorkflowSourceFormatDiagnosticDto> ConversionDiagnostics { get; init; }

The findings of the conversion.

property IsActive #

public bool IsActive { get; init; }

Whether the version is the active one.

property ValidationIssues #

public IReadOnlyCollection<WorkflowCanonicalIssueDto> ValidationIssues { get; init; }

The findings of the validation.

property Version #

public string? Version { get; init; }

The version.

property WasImported #

public bool WasImported { get; init; }

Whether a new version was stored; false when the content was already stored or the source was refused.

property WasNewVersion #

public bool WasNewVersion { get; init; }

Whether the import stored a new version.

property WorkflowName #

public string? WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionImportRequest

public sealed record WorkflowDefinitionImportRequest

Imports a canonical definition as a new version, which stays inactive until it is activated. Importing content already stored is a no-op; different content under a version that exists is refused with WORKFLOW_DEFINITION_VERSION_HASH_CONFLICT. The HTTP endpoint records the caller as WorkflowDefinitionImportRequest.ImportedBy.

Members

MemberKindSummary
WorkflowDefinitionImportRequest()constructorCreates an instance of WorkflowDefinitionImportRequest.
CanonicalDefinitionJsonpropertyCanonical definition JSON to import.
CompatibilitySha256propertyThe compatibility SHA-256, as 64 hexadecimal digits; required for a managed definition, and stored as zeros when not set for another one.
ImportedBypropertyUser or system identifier performing the import.
ManagedCodepropertyThe code of a managed definition.
OriginpropertyWhere the definition comes from: OPERATOR_IMPORTED (the default) or MANAGED_EMBEDDED; any other value is refused.
RenderingJsonBase64propertyOptional render graph JSON (base64-encoded).
RenderingPngBase64propertyOptional PNG screenshot (base64-encoded).
RenderingSvgBase64propertyOptional SVG diagram (base64-encoded).
SourceBuildSha256propertyThe source build SHA-256, as 64 hexadecimal digits; required for a managed definition, and stored as zeros when not set for another one.

constructor WorkflowDefinitionImportRequest() #

public WorkflowDefinitionImportRequest()

Creates an instance of WorkflowDefinitionImportRequest.

property CanonicalDefinitionJson #

public required string CanonicalDefinitionJson { get; init; }

Canonical definition JSON to import.

property CompatibilitySha256 #

public string? CompatibilitySha256 { get; init; }

The compatibility SHA-256, as 64 hexadecimal digits; required for a managed definition, and stored as zeros when not set for another one.

property ImportedBy #

public string? ImportedBy { get; init; }

User or system identifier performing the import.

property ManagedCode #

public string? ManagedCode { get; init; }

The code of a managed definition.

property Origin #

public string Origin { get; init; }

Where the definition comes from: OPERATOR_IMPORTED (the default) or MANAGED_EMBEDDED; any other value is refused. Content already stored under another origin or provenance is refused with WORKFLOW_DEFINITION_ORIGIN_COLLISION.

property RenderingJsonBase64 #

public string? RenderingJsonBase64 { get; init; }

Optional render graph JSON (base64-encoded).

property RenderingPngBase64 #

public string? RenderingPngBase64 { get; init; }

Optional PNG screenshot (base64-encoded).

property RenderingSvgBase64 #

public string? RenderingSvgBase64 { get; init; }

Optional SVG diagram (base64-encoded).

property SourceBuildSha256 #

public string? SourceBuildSha256 { get; init; }

The source build SHA-256, as 64 hexadecimal digits; required for a managed definition, and stored as zeros when not set for another one.

record WorkflowDefinitionImportResponse

public sealed record WorkflowDefinitionImportResponse

The answer to a definition import.

Members

MemberKindSummary
WorkflowDefinitionImportResponse()constructorCreates an instance of WorkflowDefinitionImportResponse.
ContentHashpropertyThe content hash of the definition.
IsActivepropertyWhether this version is now the active version.
ValidationIssuespropertyValidation issues found during import (empty if successful).
VersionpropertyThe version, as the definition declares it.
WasImportedpropertyFalse if the content hash matched an existing version (no-op import).
WasNewVersionpropertyTrue if this was the first import for this base version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionImportResponse() #

public WorkflowDefinitionImportResponse()

Creates an instance of WorkflowDefinitionImportResponse.

property ContentHash #

public required string ContentHash { get; init; }

The content hash of the definition.

property IsActive #

public bool IsActive { get; init; }

Whether this version is now the active version.

property ValidationIssues #

public IReadOnlyCollection<WorkflowCanonicalValidationIssue> ValidationIssues { get; init; }

Validation issues found during import (empty if successful).

property Version #

public required string Version { get; init; }

The version, as the definition declares it.

property WasImported #

public bool WasImported { get; init; }

False if the content hash matched an existing version (no-op import).

property WasNewVersion #

public bool WasNewVersion { get; init; }

True if this was the first import for this base version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionVersionSummary

public sealed record WorkflowDefinitionVersionSummary

One stored version of a workflow definition.

Members

MemberKindSummary
WorkflowDefinitionVersionSummary()constructorCreates an instance of WorkflowDefinitionVersionSummary.
ActivatedOnUtcpropertyWhen the version was last activated, in UTC.
BaseVersionpropertyThe version the definition declares.
BuildIterationpropertyThe build iteration within the base version; 0 for a version imported as declared.
CompatibilitySha256propertyThe compatibility SHA-256; zeros when none was given.
ContentHashpropertyThe content hash.
CreatedOnUtcpropertyWhen the version was stored, in UTC.
DisplayNamepropertyThe display name of the definition.
ImportedBypropertyWho imported the version.
IsActivepropertyWhether the version is the active one.
IsManagedpropertyWhether the definition is managed (MANAGED_EMBEDDED).
ManagedCodepropertyThe code of a managed definition.
OriginpropertyWhere the definition comes from: OPERATOR_IMPORTED or MANAGED_EMBEDDED.
SourceBuildSha256propertyThe source build SHA-256; zeros when none was given.
VersionpropertyThe version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionVersionSummary() #

public WorkflowDefinitionVersionSummary()

Creates an instance of WorkflowDefinitionVersionSummary.

property ActivatedOnUtc #

public DateTime? ActivatedOnUtc { get; init; }

When the version was last activated, in UTC.

property BaseVersion #

public required string BaseVersion { get; init; }

The version the definition declares.

property BuildIteration #

public int BuildIteration { get; init; }

The build iteration within the base version; 0 for a version imported as declared.

property CompatibilitySha256 #

public required string CompatibilitySha256 { get; init; }

The compatibility SHA-256; zeros when none was given.

property ContentHash #

public required string ContentHash { get; init; }

The content hash.

property CreatedOnUtc #

public DateTime CreatedOnUtc { get; init; }

When the version was stored, in UTC.

property DisplayName #

public string? DisplayName { get; init; }

The display name of the definition.

property ImportedBy #

public string? ImportedBy { get; init; }

Who imported the version.

property IsActive #

public bool IsActive { get; init; }

Whether the version is the active one.

property IsManaged #

public bool IsManaged { get; init; }

Whether the definition is managed (MANAGED_EMBEDDED).

property ManagedCode #

public string? ManagedCode { get; init; }

The code of a managed definition.

property Origin #

public required string Origin { get; init; }

Where the definition comes from: OPERATOR_IMPORTED or MANAGED_EMBEDDED.

property SourceBuildSha256 #

public required string SourceBuildSha256 { get; init; }

The source build SHA-256; zeros when none was given.

property Version #

public required string Version { get; init; }

The version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionVersionsGetRequest

public sealed record WorkflowDefinitionVersionsGetRequest

Lists the stored versions of a workflow.

Members

MemberKindSummary
WorkflowDefinitionVersionsGetRequest()constructorCreates an instance of WorkflowDefinitionVersionsGetRequest.
WorkflowNamepropertyThe workflow name.

constructor WorkflowDefinitionVersionsGetRequest() #

public WorkflowDefinitionVersionsGetRequest()

Creates an instance of WorkflowDefinitionVersionsGetRequest.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowDefinitionVersionsGetResponse

public sealed record WorkflowDefinitionVersionsGetResponse

The stored versions of a workflow.

Members

MemberKindSummary
WorkflowDefinitionVersionsGetResponse()constructorCreates an instance of WorkflowDefinitionVersionsGetResponse.
VersionspropertyThe versions.

constructor WorkflowDefinitionVersionsGetResponse() #

public WorkflowDefinitionVersionsGetResponse()

Creates an instance of WorkflowDefinitionVersionsGetResponse.

property Versions #

public IReadOnlyCollection<WorkflowDefinitionVersionSummary> Versions { get; init; }

The versions.

record WorkflowDesignatedWorkflow

public sealed record WorkflowDesignatedWorkflow

A workflow in the first-seen ledger, as first seen.

Members

MemberKindSummary
WorkflowDesignatedWorkflow()constructorCreates an instance of WorkflowDesignatedWorkflow.
FirstSeenOnUtcpropertyWhen the workflow was first seen (UTC).
FirstSeenSourcepropertyWhere the workflow was first seen: catalog, store or import.
WorkflowNamepropertyThe spelling of the workflow name at its first sighting.

constructor WorkflowDesignatedWorkflow() #

public WorkflowDesignatedWorkflow()

Creates an instance of WorkflowDesignatedWorkflow.

property FirstSeenOnUtc #

public required DateTimeOffset FirstSeenOnUtc { get; init; }

When the workflow was first seen (UTC).

property FirstSeenSource #

public required string FirstSeenSource { get; init; }

Where the workflow was first seen: catalog, store or import.

property WorkflowName #

public required string WorkflowName { get; init; }

The spelling of the workflow name at its first sighting.

record WorkflowDesignatedWorkflowsGetResponse

public sealed record WorkflowDesignatedWorkflowsGetResponse

The Designated Workflows of the installation as the first-seen ledger records them: every workflow ever registered in code or stored in the definition store, one entry per workflow, versions not counted. Read-only; the count is the ledger’s count, the one the licence monitor evaluates.

Members

MemberKindSummary
WorkflowDesignatedWorkflowsGetResponse()constructorCreates an instance of WorkflowDesignatedWorkflowsGetResponse.
DesignatedWorkflowspropertyThe number of distinct workflows the ledger records; equals the number of WorkflowDesignatedWorkflowsGetResponse.Workflows.
Ledgerpropertydurable for the PostgreSQL and MongoDB ledgers; process-memory on a host without a workflow store, whose ledger holds only what the running process has seen.
LicencepropertyThe licence status of the latest licence evaluation; null before the first evaluation of this process.
NoticepropertyThe licence notice of the latest licence evaluation; null before the first evaluation of this process (the licence monitor evaluates at startup and every hour).
WorkflowspropertyThe recorded workflows, ordered by their invariant upper-case name (ordinal).

constructor WorkflowDesignatedWorkflowsGetResponse() #

public WorkflowDesignatedWorkflowsGetResponse()

Creates an instance of WorkflowDesignatedWorkflowsGetResponse.

property DesignatedWorkflows #

public required int DesignatedWorkflows { get; init; }

The number of distinct workflows the ledger records; equals the number of WorkflowDesignatedWorkflowsGetResponse.Workflows.

property Ledger #

public required string Ledger { get; init; }

durable for the PostgreSQL and MongoDB ledgers; process-memory on a host without a workflow store, whose ledger holds only what the running process has seen.

property Licence #

public WorkflowLicenceStatus? Licence { get; init; }

The licence status of the latest licence evaluation; null before the first evaluation of this process. Informational: nothing is refused.

property Notice #

public WorkflowLicenceNotice? Notice { get; init; }

The licence notice of the latest licence evaluation; null before the first evaluation of this process (the licence monitor evaluates at startup and every hour).

property Workflows #

public required IReadOnlyCollection<WorkflowDesignatedWorkflow> Workflows { get; init; }

The recorded workflows, ordered by their invariant upper-case name (ordinal).

record WorkflowDiagramEdge

public sealed record WorkflowDiagramEdge

A routed edge of a workflow diagram.

Members

MemberKindSummary
WorkflowDiagramEdge()constructorCreates an instance of WorkflowDiagramEdge.
LabelpropertyThe label.
SectionspropertyThe routed sections.
SourceNodeIdpropertyThe source node.
TargetNodeIdpropertyThe target node.

constructor WorkflowDiagramEdge() #

public WorkflowDiagramEdge()

Creates an instance of WorkflowDiagramEdge.

property Label #

public string? Label { get; init; }

The label.

property Sections #

public IReadOnlyCollection<WorkflowDiagramEdgeSection> Sections { get; init; }

The routed sections.

property SourceNodeId #

public required string SourceNodeId { get; init; }

The source node.

property TargetNodeId #

public required string TargetNodeId { get; init; }

The target node.

record WorkflowDiagramEdgeSection

public sealed record WorkflowDiagramEdgeSection

A routed section of a diagram edge.

Members

MemberKindSummary
WorkflowDiagramEdgeSection()constructorCreates an instance of WorkflowDiagramEdgeSection.
BendPointspropertyThe bends between them.
EndPointpropertyWhere the section ends.
StartPointpropertyWhere the section starts.

constructor WorkflowDiagramEdgeSection() #

public WorkflowDiagramEdgeSection()

Creates an instance of WorkflowDiagramEdgeSection.

property BendPoints #

public IReadOnlyCollection<WorkflowDiagramPoint> BendPoints { get; init; }

The bends between them.

property EndPoint #

public required WorkflowDiagramPoint EndPoint { get; init; }

Where the section ends.

property StartPoint #

public required WorkflowDiagramPoint StartPoint { get; init; }

Where the section starts.

record WorkflowDiagramGetRequest

public sealed record WorkflowDiagramGetRequest

Lays out the diagram of a workflow definition, optionally with the progress of an instance.

Members

MemberKindSummary
WorkflowDiagramGetRequest()constructorCreates an instance of WorkflowDiagramGetRequest.
LayoutEffortpropertyThe layout effort: Draft, Balanced or Best (the default), ignoring case.
LayoutOrderingIterationspropertyThe node ordering iterations of the layout.
LayoutPlacementIterationspropertyThe node placement iterations of the layout.
LayoutProviderpropertyThe layout provider; the configured one when not set.
WorkflowInstanceIdpropertyAn instance whose progress the diagram shows.
WorkflowNamepropertyThe workflow name.
WorkflowVersionpropertyThe version; the latest when not set.

constructor WorkflowDiagramGetRequest() #

public WorkflowDiagramGetRequest()

Creates an instance of WorkflowDiagramGetRequest.

property LayoutEffort #

public string? LayoutEffort { get; init; }

The layout effort: Draft, Balanced or Best (the default), ignoring case.

property LayoutOrderingIterations #

public int? LayoutOrderingIterations { get; init; }

The node ordering iterations of the layout.

property LayoutPlacementIterations #

public int? LayoutPlacementIterations { get; init; }

The node placement iterations of the layout.

property LayoutProvider #

public string? LayoutProvider { get; init; }

The layout provider; the configured one when not set.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

An instance whose progress the diagram shows.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

The version; the latest when not set.

record WorkflowDiagramGetResponse

public sealed record WorkflowDiagramGetResponse

A laid-out workflow diagram.

Members

MemberKindSummary
WorkflowDiagramGetResponse()constructorCreates an instance of WorkflowDiagramGetResponse.
DisplayNamepropertyThe display name.
EdgespropertyThe routed edges.
InstanceStatuspropertyThe status of that instance.
LayoutEffortpropertyThe layout effort used.
LayoutOrderingIterationspropertyThe ordering iterations used.
LayoutPlacementIterationspropertyThe placement iterations used.
LayoutProviderpropertyThe layout provider used.
NodespropertyThe positioned nodes.
RuntimeProviderpropertyThe runtime provider of that instance.
RuntimeStatuspropertyThe runtime status of that instance.
WorkflowInstanceIdpropertyThe instance shown, when the request named one.
WorkflowNamepropertyThe workflow name.
WorkflowVersionpropertyThe version.

constructor WorkflowDiagramGetResponse() #

public WorkflowDiagramGetResponse()

Creates an instance of WorkflowDiagramGetResponse.

property DisplayName #

public required string DisplayName { get; init; }

The display name.

property Edges #

public IReadOnlyCollection<WorkflowDiagramEdge> Edges { get; init; }

The routed edges.

property InstanceStatus #

public string? InstanceStatus { get; init; }

The status of that instance.

property LayoutEffort #

public string? LayoutEffort { get; init; }

The layout effort used.

property LayoutOrderingIterations #

public int? LayoutOrderingIterations { get; init; }

The ordering iterations used.

property LayoutPlacementIterations #

public int? LayoutPlacementIterations { get; init; }

The placement iterations used.

property LayoutProvider #

public string? LayoutProvider { get; init; }

The layout provider used.

property Nodes #

public IReadOnlyCollection<WorkflowDiagramNode> Nodes { get; init; }

The positioned nodes.

property RuntimeProvider #

public string? RuntimeProvider { get; init; }

The runtime provider of that instance.

property RuntimeStatus #

public string? RuntimeStatus { get; init; }

The runtime status of that instance.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

The instance shown, when the request named one.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The version.

record WorkflowDiagramNode

public sealed record WorkflowDiagramNode

A positioned node of a workflow diagram, with its progress when the diagram shows an instance.

Members

MemberKindSummary
WorkflowDiagramNode()constructorCreates an instance of WorkflowDiagramNode.
AssigneepropertyThe assignee of that task.
EffectiveRolespropertyThe roles of the active task of the node, after any runtime roles.
HeightpropertyThe node height.
IconKeypropertyThe icon of the node.
IdpropertyThe node identifier.
LabelpropertyThe label.
NodeStatuspropertyThe node status in the instance, when the request names one: the start node is Completed; the end node is Completed or Pending; a task node has the status of its open, assigned or stale task, or Pending before its first task; any other node is Completed once the instance is.
NodeTypepropertyThe node kind, such as Start, End, HumanTask, TransportCall or Decision.
RoutepropertyThe route of a human task node.
SemanticKeypropertyThe name of what the node stands for, such as the task or step name.
SemanticTypepropertyWhat the node stands for, such as Task or Decision.
TaskRolespropertyThe roles the task declares, for a human task node.
TaskTypepropertyThe task type of a human task node.
VisitCountpropertyHow many tasks the node has created in the instance.
WidthpropertyThe node width.
WorkflowRolespropertyThe roles of the workflow.
WorkflowTaskIdpropertyThe latest task of the node in the instance.
XpropertyThe left edge of the node.
YpropertyThe top edge of the node.

constructor WorkflowDiagramNode() #

public WorkflowDiagramNode()

Creates an instance of WorkflowDiagramNode.

property Assignee #

public string? Assignee { get; init; }

The assignee of that task.

property EffectiveRoles #

public IReadOnlyCollection<string> EffectiveRoles { get; init; }

The roles of the active task of the node, after any runtime roles.

property Height #

public double Height { get; init; }

The node height.

property IconKey #

public string? IconKey { get; init; }

The icon of the node.

property Id #

public required string Id { get; init; }

The node identifier.

property Label #

public required string Label { get; init; }

The label.

property NodeStatus #

public string? NodeStatus { get; init; }

The node status in the instance, when the request names one: the start node is Completed; the end node is Completed or Pending; a task node has the status of its open, assigned or stale task, or Pending before its first task; any other node is Completed once the instance is.

property NodeType #

public required string NodeType { get; init; }

The node kind, such as Start, End, HumanTask, TransportCall or Decision.

property Route #

public string? Route { get; init; }

The route of a human task node.

property SemanticKey #

public string? SemanticKey { get; init; }

The name of what the node stands for, such as the task or step name.

property SemanticType #

public string? SemanticType { get; init; }

What the node stands for, such as Task or Decision.

property TaskRoles #

public IReadOnlyCollection<string> TaskRoles { get; init; }

The roles the task declares, for a human task node.

property TaskType #

public string? TaskType { get; init; }

The task type of a human task node.

property VisitCount #

public int VisitCount { get; init; }

How many tasks the node has created in the instance.

property Width #

public double Width { get; init; }

The node width.

property WorkflowRoles #

public IReadOnlyCollection<string> WorkflowRoles { get; init; }

The roles of the workflow.

property WorkflowTaskId #

public string? WorkflowTaskId { get; init; }

The latest task of the node in the instance.

property X #

public double X { get; init; }

The left edge of the node.

property Y #

public double Y { get; init; }

The top edge of the node.

record WorkflowDiagramPoint

public sealed record WorkflowDiagramPoint

A point of a diagram edge.

Members

MemberKindSummary
WorkflowDiagramPoint()constructorCreates an instance of WorkflowDiagramPoint.
XpropertyThe horizontal position.
YpropertyThe vertical position.

constructor WorkflowDiagramPoint() #

public WorkflowDiagramPoint()

Creates an instance of WorkflowDiagramPoint.

property X #

public required double X { get; init; }

The horizontal position.

property Y #

public required double Y { get; init; }

The vertical position.

record WorkflowEndpointAddressDeclaration

public sealed record WorkflowEndpointAddressDeclaration : WorkflowTransportAddressDeclaration

An HTTP endpoint of a named service ("$type": "endpoint"): the host resolves the service name to a base address, and the call goes to WorkflowEndpointAddressDeclaration.Pathwith WorkflowEndpointAddressDeclaration.Method.

Members

MemberKindSummary
WorkflowEndpointAddressDeclaration()constructorCreates an instance of WorkflowEndpointAddressDeclaration.
MethodpropertyThe HTTP method; POST by default.
PathpropertyThe path.
ServiceNamepropertyThe service.

constructor WorkflowEndpointAddressDeclaration() #

public WorkflowEndpointAddressDeclaration()

Creates an instance of WorkflowEndpointAddressDeclaration.

property Method #

public string Method { get; init; }

The HTTP method; POST by default.

property Path #

public required string Path { get; init; }

The path.

property ServiceName #

public required string ServiceName { get; init; }

The service.

record WorkflowEndpointRequest

public sealed record WorkflowEndpointRequest

A call of an HTTP endpoint of a named service; the host’s endpoint transport delivers it.

Members

MemberKindSummary
WorkflowEndpointRequest()constructorCreates an instance of WorkflowEndpointRequest.
MethodpropertyThe HTTP method; POST by default.
PathpropertyThe path, joined to the base address.
PayloadpropertyThe body, sent as JSON; none when not set.
ServiceNamepropertyThe service, resolved to a base address by the endpoint transport.

constructor WorkflowEndpointRequest() #

public WorkflowEndpointRequest()

Creates an instance of WorkflowEndpointRequest.

property Method #

public string Method { get; init; }

The HTTP method; POST by default.

property Path #

public required string Path { get; init; }

The path, joined to the base address.

property Payload #

public object? Payload { get; init; }

The body, sent as JSON; none when not set.

property ServiceName #

public required string ServiceName { get; init; }

The service, resolved to a base address by the endpoint transport.

record WorkflowEndpointResponse

public sealed record WorkflowEndpointResponse

The answer of an endpoint transport.

Members

MemberKindSummary
WorkflowEndpointResponse()constructorCreates an instance of WorkflowEndpointResponse.
ErrorpropertyWhy the call failed; not set when it succeeded.
PayloadpropertyThe response body: read as JSON, or the text when it is not JSON.
StatusCodepropertyThe status the service answered with, when it answered; whenFailure branches read it.
SucceededpropertyWhether the call succeeded.

constructor WorkflowEndpointResponse() #

public WorkflowEndpointResponse()

Creates an instance of WorkflowEndpointResponse.

property Error #

public string? Error { get; init; }

Why the call failed; not set when it succeeded.

property Payload #

public object? Payload { get; init; }

The response body: read as JSON, or the text when it is not JSON.

property StatusCode #

public long? StatusCode { get; init; }

The status the service answered with, when it answered; whenFailure branches read it.

property Succeeded #

public required bool Succeeded { get; init; }

Whether the call succeeded.

record WorkflowExecutionGraph

public sealed record WorkflowExecutionGraph

The scopes and steps of a workflow execution as a graph.

Parameters

  • Nodes: The nodes.
  • Edges: The edges.

Members

MemberKindSummary
WorkflowExecutionGraph(IReadOnlyList<WorkflowExecutionGraphNode>, IReadOnlyList<WorkflowExecutionGraphEdge>)constructorThe scopes and steps of a workflow execution as a graph.
EdgespropertyThe edges.
NodespropertyThe nodes.

constructor WorkflowExecutionGraph(IReadOnlyList<WorkflowExecutionGraphNode>, IReadOnlyList<WorkflowExecutionGraphEdge>) #

public WorkflowExecutionGraph(IReadOnlyList<WorkflowExecutionGraphNode> Nodes, IReadOnlyList<WorkflowExecutionGraphEdge> Edges)

The scopes and steps of a workflow execution as a graph.

Parameters

  • Nodes: The nodes.
  • Edges: The edges.

property Edges #

public IReadOnlyList<WorkflowExecutionGraphEdge> Edges { get; init; }

The edges.

property Nodes #

public IReadOnlyList<WorkflowExecutionGraphNode> Nodes { get; init; }

The nodes.

record WorkflowExecutionGraphEdge

public sealed record WorkflowExecutionGraphEdge

An edge of an execution graph.

Parameters

  • SourceId: The source node.
  • TargetId: The target node.
  • Kind: contains from a scope to what it contains, or next from a step to the next one.

Members

MemberKindSummary
WorkflowExecutionGraphEdge(string, string, string)constructorAn edge of an execution graph.
Kindpropertycontains from a scope to what it contains, or next from a step to the next one.
SourceIdpropertyThe source node.
TargetIdpropertyThe target node.

constructor WorkflowExecutionGraphEdge(string, string, string) #

public WorkflowExecutionGraphEdge(string SourceId, string TargetId, string Kind)

An edge of an execution graph.

Parameters

  • SourceId: The source node.
  • TargetId: The target node.
  • Kind: contains from a scope to what it contains, or next from a step to the next one.

property Kind #

public string Kind { get; init; }

contains from a scope to what it contains, or next from a step to the next one.

property SourceId #

public string SourceId { get; init; }

The source node.

property TargetId #

public string TargetId { get; init; }

The target node.

record WorkflowExecutionGraphNode

public sealed record WorkflowExecutionGraphNode

A node of an execution graph: a scope or a step.

Parameters

  • Id: The scope or step execution.
  • Kind: scope or step.
  • Label: The scope code, or the step key; the TECHNICAL profile adds the operation.
  • Status: The status.
  • ParentId: The scope that contains the node.

Members

MemberKindSummary
WorkflowExecutionGraphNode(string, string, string, string, string)constructorA node of an execution graph: a scope or a step.
IdpropertyThe scope or step execution.
Kindpropertyscope or step.
LabelpropertyThe scope code, or the step key; the TECHNICAL profile adds the operation.
ParentIdpropertyThe scope that contains the node.
StatuspropertyThe status.

constructor WorkflowExecutionGraphNode(string, string, string, string, string) #

public WorkflowExecutionGraphNode(string Id, string Kind, string Label, string Status, string? ParentId)

A node of an execution graph: a scope or a step.

Parameters

  • Id: The scope or step execution.
  • Kind: scope or step.
  • Label: The scope code, or the step key; the TECHNICAL profile adds the operation.
  • Status: The status.
  • ParentId: The scope that contains the node.

property Id #

public string Id { get; init; }

The scope or step execution.

property Kind #

public string Kind { get; init; }

scope or step.

property Label #

public string Label { get; init; }

The scope code, or the step key; the TECHNICAL profile adds the operation.

property ParentId #

public string? ParentId { get; init; }

The scope that contains the node.

property Status #

public string Status { get; init; }

The status.

record WorkflowExecutionListItem

public sealed record WorkflowExecutionListItem

One workflow execution of the console list.

Members

MemberKindSummary
WorkflowExecutionListItem()constructorCreates an instance of WorkflowExecutionListItem.
CompletedAtUtcpropertyWhen it completed, in UTC.
CreatedAtUtcpropertyWhen it started, in UTC.
DefinitionCodepropertyThe workflow name.
DefinitionVersionpropertyThe workflow version.
StatuspropertyThe status.
WorkflowExecutionIdpropertyThe execution (workflow instance).

constructor WorkflowExecutionListItem() #

public WorkflowExecutionListItem()

Creates an instance of WorkflowExecutionListItem.

property CompletedAtUtc #

public DateTime? CompletedAtUtc { get; init; }

When it completed, in UTC.

property CreatedAtUtc #

public required DateTime CreatedAtUtc { get; init; }

When it started, in UTC.

property DefinitionCode #

public required string DefinitionCode { get; init; }

The workflow name.

property DefinitionVersion #

public required string DefinitionVersion { get; init; }

The workflow version.

property Status #

public required string Status { get; init; }

The status.

property WorkflowExecutionId #

public required string WorkflowExecutionId { get; init; }

The execution (workflow instance).

record WorkflowExecutionListRequest

public sealed record WorkflowExecutionListRequest

Lists workflow executions for the execution console, newest first.

Members

MemberKindSummary
WorkflowExecutionListRequest()constructorCreates an instance of WorkflowExecutionListRequest.
CursorpropertyThe cursor of the next page, from the previous response; the first page when not set.
PageSizepropertyThe page size, from 1 to 50; 25 by default.
ProfilepropertyThe console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more.

constructor WorkflowExecutionListRequest() #

public WorkflowExecutionListRequest()

Creates an instance of WorkflowExecutionListRequest.

property Cursor #

public string? Cursor { get; init; }

The cursor of the next page, from the previous response; the first page when not set.

property PageSize #

public int PageSize { get; init; }

The page size, from 1 to 50; 25 by default.

property Profile #

public string Profile { get; init; }

The console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more. Any other value is refused.

record WorkflowExecutionListResponse

public sealed record WorkflowExecutionListResponse

A page of workflow executions.

Members

MemberKindSummary
WorkflowExecutionListResponse()constructorCreates an instance of WorkflowExecutionListResponse.
HasMoreCandidatespropertyWhether a next page exists.
ItemspropertyThe executions of the page.
NextCursorpropertyThe cursor of the next page; not set on the last page.

constructor WorkflowExecutionListResponse() #

public WorkflowExecutionListResponse()

Creates an instance of WorkflowExecutionListResponse.

property HasMoreCandidates #

public required bool HasMoreCandidates { get; init; }

Whether a next page exists.

property Items #

public required IReadOnlyList<WorkflowExecutionListItem> Items { get; init; }

The executions of the page.

property NextCursor #

public string? NextCursor { get; init; }

The cursor of the next page; not set on the last page.

record WorkflowExecutionResourceRequest

public sealed record WorkflowExecutionResourceRequest

Reads one resource of a workflow execution for the execution console.

Members

MemberKindSummary
WorkflowExecutionResourceRequest()constructorCreates an instance of WorkflowExecutionResourceRequest.
AfterSequencepropertyFor the timeline: the history sequence after which events are returned.
MaxCountpropertyThe most rows to return, from 1 to 1000; 100 by default.
ProfilepropertyThe console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more.
WorkflowExecutionIdpropertyThe execution (workflow instance).

constructor WorkflowExecutionResourceRequest() #

public WorkflowExecutionResourceRequest()

Creates an instance of WorkflowExecutionResourceRequest.

property AfterSequence #

public long AfterSequence { get; init; }

For the timeline: the history sequence after which events are returned.

property MaxCount #

public int MaxCount { get; init; }

The most rows to return, from 1 to 1000; 100 by default.

property Profile #

public string Profile { get; init; }

The console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more. Any other value is refused.

property WorkflowExecutionId #

public required string WorkflowExecutionId { get; init; }

The execution (workflow instance).

record WorkflowExecutionResourceResponse

public sealed record WorkflowExecutionResourceResponse

One resource of a workflow execution.

Members

MemberKindSummary
WorkflowExecutionResourceResponse()constructorCreates an instance of WorkflowExecutionResourceResponse.
AuthoritativepropertyWhether the resource was read from the durable store; this engine always reads it there.
FoundpropertyWhether the execution exists.
OverlayKindpropertyThe kind of overlay the resource comes from; this engine sets none.
ProfilepropertyThe profile the resource was read with.
ResourcepropertyThe resource, when the execution exists.

constructor WorkflowExecutionResourceResponse() #

public WorkflowExecutionResourceResponse()

Creates an instance of WorkflowExecutionResourceResponse.

property Authoritative #

public required bool Authoritative { get; init; }

Whether the resource was read from the durable store; this engine always reads it there.

property Found #

public required bool Found { get; init; }

Whether the execution exists.

property OverlayKind #

public string? OverlayKind { get; init; }

The kind of overlay the resource comes from; this engine sets none.

property Profile #

public required string Profile { get; init; }

The profile the resource was read with.

property Resource #

public object? Resource { get; init; }

The resource, when the execution exists.

record WorkflowExecutionSnapshot

public sealed record WorkflowExecutionSnapshot

A task with the state of its workflow instance.

Members

MemberKindSummary
WorkflowExecutionSnapshot()constructorCreates an instance of WorkflowExecutionSnapshot.
TaskpropertyThe task.
WorkflowStatepropertyThe state of its instance.

constructor WorkflowExecutionSnapshot() #

public WorkflowExecutionSnapshot()

Creates an instance of WorkflowExecutionSnapshot.

property Task #

public required WorkflowTaskSummary Task { get; init; }

The task.

property WorkflowState #

public IReadOnlyDictionary<string, JsonElement> WorkflowState { get; init; }

The state of its instance.

record WorkflowExecutionSvg

public sealed record WorkflowExecutionSvg

The execution graph drawn as SVG.

Parameters

  • ContentType: The media type of the SVG.
  • Svg: The SVG markup.
  • NodeCount: The nodes drawn.
  • EdgeCount: The edges drawn.

Members

MemberKindSummary
WorkflowExecutionSvg(string, string, int, int)constructorThe execution graph drawn as SVG.
ContentTypepropertyThe media type of the SVG.
EdgeCountpropertyThe edges drawn.
NodeCountpropertyThe nodes drawn.
SvgpropertyThe SVG markup.

constructor WorkflowExecutionSvg(string, string, int, int) #

public WorkflowExecutionSvg(string ContentType, string Svg, int NodeCount, int EdgeCount)

The execution graph drawn as SVG.

Parameters

  • ContentType: The media type of the SVG.
  • Svg: The SVG markup.
  • NodeCount: The nodes drawn.
  • EdgeCount: The edges drawn.

property ContentType #

public string ContentType { get; init; }

The media type of the SVG.

property EdgeCount #

public int EdgeCount { get; init; }

The edges drawn.

property NodeCount #

public int NodeCount { get; init; }

The nodes drawn.

property Svg #

public string Svg { get; init; }

The SVG markup.

record WorkflowExpressionDefinition

public abstract record WorkflowExpressionDefinition

An expression of a canonical definition. The $type property names the expression kind.

Members

MemberKindSummary
WorkflowExpressionDefinition()constructorCreates an instance of WorkflowExpressionDefinition.

constructor WorkflowExpressionDefinition() #

protected WorkflowExpressionDefinition()

Creates an instance of WorkflowExpressionDefinition.

record WorkflowExternalActivityStepDeclaration

public sealed record WorkflowExternalActivityStepDeclaration : WorkflowStepDeclaration

Dispatches durable work through a deployment-owned, signed adapter registry. Definitions deliberately cannot carry transport addresses or host command names.

Members

MemberKindSummary
WorkflowExternalActivityStepDeclaration()constructorCreates an instance of WorkflowExternalActivityStepDeclaration.
ContractVersionpropertyThe contract version of the activity in the registry.
DeadlineSecondspropertyThe deadline of the activity in seconds.
DestinationCodepropertyThe destination of the activity in the registry.
OperationCodepropertyThe operation of the activity in the registry.
RequestExpressionpropertyThe request.
ResultKeypropertyThe key the result is kept under (result.<key>); not kept when not set.
StepNamepropertyThe step name, shown in diagrams and in result.lastFailure.

constructor WorkflowExternalActivityStepDeclaration() #

public WorkflowExternalActivityStepDeclaration()

Creates an instance of WorkflowExternalActivityStepDeclaration.

property ContractVersion #

public required string ContractVersion { get; init; }

The contract version of the activity in the registry.

property DeadlineSeconds #

public int? DeadlineSeconds { get; init; }

The deadline of the activity in seconds.

property DestinationCode #

public required string DestinationCode { get; init; }

The destination of the activity in the registry.

property OperationCode #

public required string OperationCode { get; init; }

The operation of the activity in the registry.

property RequestExpression #

public required WorkflowExpressionDefinition RequestExpression { get; init; }

The request.

property ResultKey #

public string? ResultKey { get; init; }

The key the result is kept under (result.<key>); not kept when not set.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams and in result.lastFailure.

record WorkflowExternalSignalStepDeclaration

public sealed record WorkflowExternalSignalStepDeclaration : WorkflowStepDeclaration

Pauses the instance until a caller raises the signal for it ("$type": "external-signal").

Members

MemberKindSummary
WorkflowExternalSignalStepDeclaration()constructorCreates an instance of WorkflowExternalSignalStepDeclaration.
ResultKeypropertyThe key the signal’s payload is kept under.
SignalNameExpressionpropertyThe signal name; not empty.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowExternalSignalStepDeclaration() #

public WorkflowExternalSignalStepDeclaration()

Creates an instance of WorkflowExternalSignalStepDeclaration.

property ResultKey #

public string? ResultKey { get; init; }

The key the signal’s payload is kept under.

property SignalNameExpression #

public required WorkflowExpressionDefinition SignalNameExpression { get; init; }

The signal name; not empty.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowForkStepDeclaration

public sealed record WorkflowForkStepDeclaration : WorkflowStepDeclaration

Runs its branches concurrently and continues when the last one has finished ("$type": "fork"). A terminate-fork step in a branch ends the fork early.

Members

MemberKindSummary
WorkflowForkStepDeclaration()constructorCreates an instance of WorkflowForkStepDeclaration.
BranchespropertyThe branches.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowForkStepDeclaration() #

public WorkflowForkStepDeclaration()

Creates an instance of WorkflowForkStepDeclaration.

property Branches #

public IReadOnlyCollection<WorkflowStepSequenceDeclaration> Branches { get; init; }

The branches.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowFunctionArgumentDescriptor

public sealed record WorkflowFunctionArgumentDescriptor

An argument of an expression function.

Members

MemberKindSummary
WorkflowFunctionArgumentDescriptor()constructorCreates an instance of WorkflowFunctionArgumentDescriptor.
DescriptionpropertyWhat the argument is.
NamepropertyThe argument name.
RequiredpropertyWhether the argument is required.
TypepropertyThe argument type.
VariadicpropertyWhether the argument takes any number of values.

constructor WorkflowFunctionArgumentDescriptor() #

public WorkflowFunctionArgumentDescriptor()

Creates an instance of WorkflowFunctionArgumentDescriptor.

property Description #

public required string Description { get; init; }

What the argument is.

property Name #

public required string Name { get; init; }

The argument name.

property Required #

public required bool Required { get; init; }

Whether the argument is required.

property Type #

public required string Type { get; init; }

The argument type.

property Variadic #

public bool Variadic { get; init; }

Whether the argument takes any number of values.

record WorkflowFunctionCatalogGetResponse

public sealed record WorkflowFunctionCatalogGetResponse

The expression functions the engine provides.

Members

MemberKindSummary
WorkflowFunctionCatalogGetResponse()constructorCreates an instance of WorkflowFunctionCatalogGetResponse.
FunctionspropertyThe functions.
InstalledModulespropertyThe installed function modules.

constructor WorkflowFunctionCatalogGetResponse() #

public WorkflowFunctionCatalogGetResponse()

Creates an instance of WorkflowFunctionCatalogGetResponse.

property Functions #

public IReadOnlyCollection<WorkflowFunctionDescriptor> Functions { get; init; }

The functions.

property InstalledModules #

public IReadOnlyCollection<WorkflowModuleInfo> InstalledModules { get; init; }

The installed function modules.

record WorkflowFunctionDescriptor

public sealed record WorkflowFunctionDescriptor

An expression function of the function catalog.

Members

MemberKindSummary
WorkflowFunctionDescriptor()constructorCreates an instance of WorkflowFunctionDescriptor.
AliasespropertyOther names of the function.
ArgumentspropertyThe arguments.
DeterministicpropertyWhether the function always returns the same result for the same arguments.
ExamplespropertyExample calls.
FunctionNamepropertyThe function name.
IntroducedInSchemaVersionpropertyThe canonical schema version that introduced the function.
ModuleNamepropertyThe module that provides the function.
ModuleVersionpropertyThe module version.
ReturnpropertyThe return value.
SummarypropertyWhat the function does.

constructor WorkflowFunctionDescriptor() #

public WorkflowFunctionDescriptor()

Creates an instance of WorkflowFunctionDescriptor.

property Aliases #

public IReadOnlyCollection<string> Aliases { get; init; }

Other names of the function.

property Arguments #

public IReadOnlyCollection<WorkflowFunctionArgumentDescriptor> Arguments { get; init; }

The arguments.

property Deterministic #

public bool Deterministic { get; init; }

Whether the function always returns the same result for the same arguments.

property Examples #

public IReadOnlyCollection<WorkflowFunctionExample> Examples { get; init; }

Example calls.

property FunctionName #

public required string FunctionName { get; init; }

The function name.

property IntroducedInSchemaVersion #

public string IntroducedInSchemaVersion { get; init; }

The canonical schema version that introduced the function.

property ModuleName #

public required string ModuleName { get; init; }

The module that provides the function.

property ModuleVersion #

public required string ModuleVersion { get; init; }

The module version.

property Return #

public WorkflowFunctionReturnDescriptor? Return { get; init; }

The return value.

property Summary #

public required string Summary { get; init; }

What the function does.

record WorkflowFunctionExample

public sealed record WorkflowFunctionExample

An example call of an expression function.

Members

MemberKindSummary
WorkflowFunctionExample()constructorCreates an instance of WorkflowFunctionExample.
DescriptionpropertyWhat the example shows.
ExpressionpropertyThe example expression.

constructor WorkflowFunctionExample() #

public WorkflowFunctionExample()

Creates an instance of WorkflowFunctionExample.

property Description #

public string? Description { get; init; }

What the example shows.

property Expression #

public required string Expression { get; init; }

The example expression.

record WorkflowFunctionExpressionDefinition

public sealed record WorkflowFunctionExpressionDefinition : WorkflowExpressionDefinition

A call of a function of the function catalog ("$type": "function").

Members

MemberKindSummary
WorkflowFunctionExpressionDefinition()constructorCreates an instance of WorkflowFunctionExpressionDefinition.
ArgumentspropertyThe arguments.
FunctionNamepropertyThe function name, as the function catalog lists it.

constructor WorkflowFunctionExpressionDefinition() #

public WorkflowFunctionExpressionDefinition()

Creates an instance of WorkflowFunctionExpressionDefinition.

property Arguments #

public IReadOnlyCollection<WorkflowExpressionDefinition> Arguments { get; init; }

The arguments.

property FunctionName #

public required string FunctionName { get; init; }

The function name, as the function catalog lists it.

record WorkflowFunctionReturnDescriptor

public sealed record WorkflowFunctionReturnDescriptor

The return value of an expression function.

Members

MemberKindSummary
WorkflowFunctionReturnDescriptor()constructorCreates an instance of WorkflowFunctionReturnDescriptor.
DescriptionpropertyWhat the function returns.
TypepropertyThe return type.

constructor WorkflowFunctionReturnDescriptor() #

public WorkflowFunctionReturnDescriptor()

Creates an instance of WorkflowFunctionReturnDescriptor.

property Description #

public required string Description { get; init; }

What the function returns.

property Type #

public required string Type { get; init; }

The return type.

record WorkflowGraphqlAddressDeclaration

public sealed record WorkflowGraphqlAddressDeclaration : WorkflowTransportAddressDeclaration

A GraphQL query against a named target ("$type": "graphql").

Members

MemberKindSummary
WorkflowGraphqlAddressDeclaration()constructorCreates an instance of WorkflowGraphqlAddressDeclaration.
OperationNamepropertyThe operation to run, for a query document with several.
QuerypropertyThe GraphQL query.
TargetpropertyThe GraphQL target, as the transport configuration names it.

constructor WorkflowGraphqlAddressDeclaration() #

public WorkflowGraphqlAddressDeclaration()

Creates an instance of WorkflowGraphqlAddressDeclaration.

property OperationName #

public string? OperationName { get; init; }

The operation to run, for a query document with several.

property Query #

public required string Query { get; init; }

The GraphQL query.

property Target #

public required string Target { get; init; }

The GraphQL target, as the transport configuration names it.

record WorkflowGraphqlRequest

public sealed record WorkflowGraphqlRequest

A GraphQL query; the host’s GraphQL transport delivers it.

Members

MemberKindSummary
WorkflowGraphqlRequest()constructorCreates an instance of WorkflowGraphqlRequest.
OperationNamepropertyThe operation to run, for a query document with several.
QuerypropertyThe GraphQL query.
TargetpropertyThe GraphQL target, as the transport configuration names it.
VariablespropertyThe query variables.

constructor WorkflowGraphqlRequest() #

public WorkflowGraphqlRequest()

Creates an instance of WorkflowGraphqlRequest.

property OperationName #

public string? OperationName { get; init; }

The operation to run, for a query document with several.

property Query #

public required string Query { get; init; }

The GraphQL query.

property Target #

public required string Target { get; init; }

The GraphQL target, as the transport configuration names it.

property Variables #

public IDictionary<string, object?> Variables { get; init; }

The query variables.

record WorkflowGraphqlResponse

public sealed record WorkflowGraphqlResponse

The answer of the GraphQL transport.

Members

MemberKindSummary
WorkflowGraphqlResponse()constructorCreates an instance of WorkflowGraphqlResponse.
ErrorpropertyWhy the query failed; not set when it succeeded.
JsonPayloadpropertyThe response body, as JSON text.
SucceededpropertyWhether the query succeeded: a success status and no errors array.

constructor WorkflowGraphqlResponse() #

public WorkflowGraphqlResponse()

Creates an instance of WorkflowGraphqlResponse.

property Error #

public string? Error { get; init; }

Why the query failed; not set when it succeeded.

property JsonPayload #

public string? JsonPayload { get; init; }

The response body, as JSON text.

property Succeeded #

public required bool Succeeded { get; init; }

Whether the query succeeded: a success status and no errors array.

record WorkflowGroupExpressionDefinition

public sealed record WorkflowGroupExpressionDefinition : WorkflowExpressionDefinition

A parenthesized expression ("$type": "group").

Members

MemberKindSummary
WorkflowGroupExpressionDefinition()constructorCreates an instance of WorkflowGroupExpressionDefinition.
ExpressionpropertyThe grouped expression.

constructor WorkflowGroupExpressionDefinition() #

public WorkflowGroupExpressionDefinition()

Creates an instance of WorkflowGroupExpressionDefinition.

property Expression #

public required WorkflowExpressionDefinition Expression { get; init; }

The grouped expression.

record WorkflowHttpAddressDeclaration

public sealed record WorkflowHttpAddressDeclaration : WorkflowTransportAddressDeclaration

A call of a named HTTP target ("$type": "http").

Members

MemberKindSummary
WorkflowHttpAddressDeclaration()constructorCreates an instance of WorkflowHttpAddressDeclaration.
MethodpropertyThe HTTP method; POST by default.
PathpropertyThe path.
TargetpropertyThe HTTP target, as the transport configuration names it.

constructor WorkflowHttpAddressDeclaration() #

public WorkflowHttpAddressDeclaration()

Creates an instance of WorkflowHttpAddressDeclaration.

property Method #

public string Method { get; init; }

The HTTP method; POST by default.

property Path #

public required string Path { get; init; }

The path.

property Target #

public required string Target { get; init; }

The HTTP target, as the transport configuration names it.

record WorkflowHttpRequest

public sealed record WorkflowHttpRequest

A call of a named HTTP target; the host’s HTTP transport delivers it.

Members

MemberKindSummary
WorkflowHttpRequest()constructorCreates an instance of WorkflowHttpRequest.
MethodpropertyThe HTTP method; POST by default.
PathpropertyThe path, joined to the target address.
PayloadpropertyThe body, sent as JSON; none when not set.
TargetpropertyThe HTTP target, as the transport configuration names it.

constructor WorkflowHttpRequest() #

public WorkflowHttpRequest()

Creates an instance of WorkflowHttpRequest.

property Method #

public string Method { get; init; }

The HTTP method; POST by default.

property Path #

public required string Path { get; init; }

The path, joined to the target address.

property Payload #

public object? Payload { get; init; }

The body, sent as JSON; none when not set.

property Target #

public required string Target { get; init; }

The HTTP target, as the transport configuration names it.

record WorkflowHttpResponse

public sealed record WorkflowHttpResponse

The answer of the HTTP transport.

Members

MemberKindSummary
WorkflowHttpResponse()constructorCreates an instance of WorkflowHttpResponse.
ErrorpropertyWhy the call failed; not set when it succeeded.
JsonPayloadpropertyThe response body, as JSON text.
StatusCodepropertyThe status the target answered with, when it answered.
SucceededpropertyWhether the call succeeded.

constructor WorkflowHttpResponse() #

public WorkflowHttpResponse()

Creates an instance of WorkflowHttpResponse.

property Error #

public string? Error { get; init; }

Why the call failed; not set when it succeeded.

property JsonPayload #

public string? JsonPayload { get; init; }

The response body, as JSON text.

property StatusCode #

public int? StatusCode { get; init; }

The status the target answered with, when it answered.

property Succeeded #

public required bool Succeeded { get; init; }

Whether the call succeeded.

record WorkflowInstanceGetRequest

public sealed record WorkflowInstanceGetRequest

Looks up one instance (GET /api/workflow/instances/{id}).

Members

MemberKindSummary
WorkflowInstanceGetRequest()constructorCreates an instance of WorkflowInstanceGetRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
WorkflowInstanceIdpropertyThe workflow instance identifier.

constructor WorkflowInstanceGetRequest() #

public WorkflowInstanceGetRequest()

Creates an instance of WorkflowInstanceGetRequest.

property ActorId #

public string? ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The workflow instance identifier.

record WorkflowInstanceGetResponse

public sealed record WorkflowInstanceGetResponse

One instance with its state, tasks, task events and runtime state.

Members

MemberKindSummary
WorkflowInstanceGetResponse()constructorCreates an instance of WorkflowInstanceGetResponse.
InstancepropertyThe instance summary.
RuntimeStatepropertyThe state the runtime provider keeps for the instance.
TaskEventspropertyThe task events of the instance.
TaskspropertyThe tasks of the instance; their allowed actions are the caller’s.
WorkflowStatepropertyThe current workflow state.

constructor WorkflowInstanceGetResponse() #

public WorkflowInstanceGetResponse()

Creates an instance of WorkflowInstanceGetResponse.

property Instance #

public required WorkflowInstanceSummary Instance { get; init; }

The instance summary.

property RuntimeState #

public WorkflowRuntimeStateSummary? RuntimeState { get; init; }

The state the runtime provider keeps for the instance.

property TaskEvents #

public IReadOnlyCollection<WorkflowTaskEventSummary> TaskEvents { get; init; }

The task events of the instance.

property Tasks #

public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }

The tasks of the instance; their allowed actions are the caller’s.

property WorkflowState #

public IDictionary<string, object?> WorkflowState { get; init; }

The current workflow state.

record WorkflowInstanceProjectionDetails

public sealed record WorkflowInstanceProjectionDetails

A workflow instance with its state, tasks and task events.

Members

MemberKindSummary
WorkflowInstanceProjectionDetails()constructorCreates an instance of WorkflowInstanceProjectionDetails.
InstancepropertyThe instance.
TaskEventspropertyThe events of its tasks.
TaskspropertyIts tasks.
WorkflowStatepropertyIts state.

constructor WorkflowInstanceProjectionDetails() #

public WorkflowInstanceProjectionDetails()

Creates an instance of WorkflowInstanceProjectionDetails.

property Instance #

public required WorkflowInstanceSummary Instance { get; init; }

The instance.

property TaskEvents #

public IReadOnlyCollection<WorkflowTaskEventSummary> TaskEvents { get; init; }

The events of its tasks.

property Tasks #

public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }

Its tasks.

property WorkflowState #

public IDictionary<string, object?> WorkflowState { get; init; }

Its state.

record WorkflowInstanceSummary

public sealed record WorkflowInstanceSummary

A workflow instance in a list or a lookup.

Members

MemberKindSummary
WorkflowInstanceSummary()constructorCreates an instance of WorkflowInstanceSummary.
ActiveTaskpropertyThe first open (non-completed) task for this instance, if any.
BusinessReferencepropertyThe business reference of the instance: its key and parts.
CompletedOnUtcpropertyWhen the instance completed, in UTC; not set while it is open.
CreatedOnUtcpropertyWhen the instance started, in UTC.
RuntimeInstanceIdpropertyThe identifier of the instance in its runtime provider.
RuntimeProviderpropertyThe runtime provider that runs the instance.
RuntimeStatuspropertyThe status the runtime provider reports.
StatuspropertyThe instance status: Open, Completed or Stale.
WorkflowInstanceIdpropertyThe workflow instance identifier.
WorkflowNamepropertyThe workflow name.
WorkflowStatepropertyCurrent workflow state variables.
WorkflowVersionpropertyThe workflow version.

constructor WorkflowInstanceSummary() #

public WorkflowInstanceSummary()

Creates an instance of WorkflowInstanceSummary.

property ActiveTask #

public WorkflowTaskSummary? ActiveTask { get; init; }

The first open (non-completed) task for this instance, if any.

property BusinessReference #

public WorkflowBusinessReference? BusinessReference { get; init; }

The business reference of the instance: its key and parts.

property CompletedOnUtc #

public DateTime? CompletedOnUtc { get; init; }

When the instance completed, in UTC; not set while it is open.

property CreatedOnUtc #

public DateTime CreatedOnUtc { get; init; }

When the instance started, in UTC.

property RuntimeInstanceId #

public string? RuntimeInstanceId { get; init; }

The identifier of the instance in its runtime provider.

property RuntimeProvider #

public string? RuntimeProvider { get; init; }

The runtime provider that runs the instance.

property RuntimeStatus #

public string? RuntimeStatus { get; init; }

The status the runtime provider reports.

property Status #

public string Status { get; init; }

The instance status: Open, Completed or Stale.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The workflow instance identifier.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowState #

public IDictionary<string, object?> WorkflowState { get; init; }

Current workflow state variables. Empty when not requested or unavailable.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The workflow version.

record WorkflowInstancesGetRequest

public sealed record WorkflowInstancesGetRequest

The filters, paging and sort of an instance list (GET /api/workflow/instances).

Members

MemberKindSummary
WorkflowInstancesGetRequest()constructorCreates an instance of WorkflowInstancesGetRequest.
BusinessReferenceKeypropertyLists only instances with this business key.
BusinessReferencePartspropertyLists only instances whose business reference has these parts.
FilterspropertyA client-side table filter collection that a request body may carry.
IncludeDetailspropertyWhen true, populate ActiveTask and WorkflowState on each instance summary.
PagepropertyPagination (1-based) alternative that matches the UI table payload convention.
PageSizepropertySee WorkflowInstancesGetRequest.Page.
SkippropertyPagination: rows to skip.
SortModelpropertyOptional sort.
StatuspropertyLists only instances with this status: Open, Completed or Stale.
TakepropertyPagination: max rows to return.
WorkflowInstanceIdpropertyFilter by a single workflow instance ID.
WorkflowInstanceIdspropertyFilter by multiple workflow instance IDs.
WorkflowNamepropertyLists only instances of this workflow.
WorkflowVersionpropertyLists only instances of this version.

constructor WorkflowInstancesGetRequest() #

public WorkflowInstancesGetRequest()

Creates an instance of WorkflowInstancesGetRequest.

property BusinessReferenceKey #

public string? BusinessReferenceKey { get; init; }

Lists only instances with this business key.

property BusinessReferenceParts #

public IDictionary<string, object?> BusinessReferenceParts { get; init; }

Lists only instances whose business reference has these parts.

property Filters #

public IReadOnlyCollection<object>? Filters { get; init; }

A client-side table filter collection that a request body may carry. The server ignores it and filters only by the named properties above; the property exists so that such a body is accepted.

property IncludeDetails #

public bool IncludeDetails { get; init; }

When true, populate ActiveTask and WorkflowState on each instance summary.

property Page #

public int Page { get; init; }

Pagination (1-based) alternative that matches the UI table payload convention. When both are > 0 the server derives Skip = (Page - 1) * PageSize and Take = PageSize, taking precedence over explicit Skip/Take.

property PageSize #

public int PageSize { get; init; }

See WorkflowInstancesGetRequest.Page.

property Skip #

public int Skip { get; init; }

Pagination: rows to skip. 0 = start from beginning.

property SortModel #

public WorkflowSortModel? SortModel { get; init; }

Optional sort. SortBy is whitelisted per-endpoint — for instances the allowed values are “workflowInstanceId”, “workflowName”, “workflowVersion”, “status”, “createdOnUtc”, “completedOnUtc”, “businessReferenceKey”. Null sorts by createdOnUtc desc by default.

property Status #

public string? Status { get; init; }

Lists only instances with this status: Open, Completed or Stale.

property Take #

public int Take { get; init; }

Pagination: max rows to return. 0 = use server default cap.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

Filter by a single workflow instance ID.

property WorkflowInstanceIds #

public IReadOnlyCollection<string> WorkflowInstanceIds { get; init; }

Filter by multiple workflow instance IDs.

property WorkflowName #

public string? WorkflowName { get; init; }

Lists only instances of this workflow.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

Lists only instances of this version.

record WorkflowInstancesGetResponse

public sealed record WorkflowInstancesGetResponse

A page of instances and the total number that match the filters.

Members

MemberKindSummary
WorkflowInstancesGetResponse()constructorCreates an instance of WorkflowInstancesGetResponse.
InstancespropertyThe instances of the requested page.
TotalCountpropertyTotal number of rows matching the filter (pre-pagination).

constructor WorkflowInstancesGetResponse() #

public WorkflowInstancesGetResponse()

Creates an instance of WorkflowInstancesGetResponse.

property Instances #

public IReadOnlyCollection<WorkflowInstanceSummary> Instances { get; init; }

The instances of the requested page.

property TotalCount #

public int TotalCount { get; init; }

Total number of rows matching the filter (pre-pagination).

record WorkflowLicenceNotice

public sealed record WorkflowLicenceNotice

The licence notice the engine shows: “Licensed to” the licensee of the licence line whose entry covers the running version, or the message of the notice case. The fields of the notice of the Router’s licence health output, with the permission, version scope and effective date of an embedded line.

Members

MemberKindSummary
WorkflowLicenceNotice()constructorCreates an instance of WorkflowLicenceNotice.
Casepropertylicensed-to, no-licence-file, no-file-loaded, records-not-assessed or no-covering-record.
CoversVersionsPublishedBeforepropertyThe release-date scope of the deciding standard-capacity entry (yyyy-MM-dd); for the no-covering-record case, the latest cutoff of the loaded entries; otherwise null.
EffectiveDatepropertyThe effective date of a deciding embedded line (yyyy-MM-dd); otherwise null.
LicenceFilesNotInForcepropertyThe licence files that were read and are not in force.
LicensedCapacitypropertyThe capacity of the deciding entry, in Designated Workflows; null unless licensed-to, and null for an embedded line, which records unlimited capacity.
LicenseepropertyThe licensee display name of the deciding licence line; null unless WorkflowLicenceNotice.Caseis licensed-to.
PermissionpropertyThe permission of the deciding line, standard-capacity or embedded; null unless licensed-to.
RecordsInForcepropertyThe licence records (serials) in force.
TextpropertyThe one-line notice, as the log line writes it (fields separated by |).
VersionScopepropertyThe version scope of a deciding embedded line, delivered-without-cutoff; otherwise null.

constructor WorkflowLicenceNotice() #

public WorkflowLicenceNotice()

Creates an instance of WorkflowLicenceNotice.

property Case #

public required string Case { get; init; }

licensed-to, no-licence-file, no-file-loaded, records-not-assessed or no-covering-record.

property CoversVersionsPublishedBefore #

public string? CoversVersionsPublishedBefore { get; init; }

The release-date scope of the deciding standard-capacity entry (yyyy-MM-dd); for the no-covering-record case, the latest cutoff of the loaded entries; otherwise null.

property EffectiveDate #

public string? EffectiveDate { get; init; }

The effective date of a deciding embedded line (yyyy-MM-dd); otherwise null.

property LicenceFilesNotInForce #

public required int LicenceFilesNotInForce { get; init; }

The licence files that were read and are not in force.

property LicensedCapacity #

public int? LicensedCapacity { get; init; }

The capacity of the deciding entry, in Designated Workflows; null unless licensed-to, and null for an embedded line, which records unlimited capacity.

property Licensee #

public string? Licensee { get; init; }

The licensee display name of the deciding licence line; null unless WorkflowLicenceNotice.Caseis licensed-to.

property Permission #

public string? Permission { get; init; }

The permission of the deciding line, standard-capacity or embedded; null unless licensed-to. For an embedded line the notice describes the recorded permission and does not certify that the use is within it.

property RecordsInForce #

public required int RecordsInForce { get; init; }

The licence records (serials) in force.

property Text #

public required string Text { get; init; }

The one-line notice, as the log line writes it (fields separated by |).

property VersionScope #

public string? VersionScope { get; init; }

The version scope of a deciding embedded line, delivered-without-cutoff; otherwise null.

record WorkflowLicenceStatus

public sealed record WorkflowLicenceStatus

The licence status of one licence evaluation: the status name, its factual message and the licence-status explanation that accompanies the messages. The status describes the licence records the local reader can see; it refuses nothing and is not a compliance determination.

Members

MemberKindSummary
WorkflowLicenceStatus()constructorCreates an instance of WorkflowLicenceStatus.
ExplanationpropertyThe licence-status explanation that accompanies the messages.
MessagepropertyThe factual message of the status.
Statuspropertywithin-free-limit, above-notice-level, record-matches, count-exceeds-recorded-capacity, embedded-scope-not-established, development-build, no-matching-record or count-unavailable.
Warnspropertytrue for a status the engine logs as a warning at startup and hourly (every status but within-free-limit and record-matches).

constructor WorkflowLicenceStatus() #

public WorkflowLicenceStatus()

Creates an instance of WorkflowLicenceStatus.

property Explanation #

public required string Explanation { get; init; }

The licence-status explanation that accompanies the messages.

property Message #

public required string Message { get; init; }

The factual message of the status.

property Status #

public required string Status { get; init; }

within-free-limit, above-notice-level, record-matches, count-exceeds-recorded-capacity, embedded-scope-not-established, development-build, no-matching-record or count-unavailable.

property Warns #

public required bool Warns { get; init; }

true for a status the engine logs as a warning at startup and hourly (every status but within-free-limit and record-matches).

record WorkflowMapStepDeclaration

public sealed record WorkflowMapStepDeclaration : WorkflowStepDeclaration

Runs its body once per item of a collection, with bounded concurrency and a deterministic fan-in ("$type": "map"). A map needs the durable stores and services.

Members

MemberKindSummary
WorkflowMapStepDeclaration()constructorCreates an instance of WorkflowMapStepDeclaration.
BodypropertyThe steps that run for each item.
CollectionExpressionpropertyThe collection to map over.
DeadlineSecondspropertyThe deadline of the map in seconds.
FailurePolicypropertyWhat a failed item does: FAIL_FAST (the default), COLLECT_PARTIAL or ROUTE_MANUAL.
FanInPolicypropertyWhen the map completes: ALL_SUCCEEDED (the default), COLLECT_ALL or MIN_SUCCEEDED.
GlobalActivityClasspropertyA class of activities whose concurrency is limited across all maps.
ItemKeyExpressionpropertyThe key of an item, evaluated with the item in the state.
ItemResultExpressionpropertyThe result of an item, evaluated after its body.
ItemStateKeypropertyThe state key that holds the current item.
MaxAggregateStateBytespropertyThe size limit of the collected results, in bytes.
MaxConcurrencypropertyThe items in flight at once; at most WorkflowMapStepDeclaration.MaxItemsand WorkflowRuntime:MaxMapConcurrency.
MaxItemspropertyThe items allowed in the collection; at most WorkflowRuntime:MaxMapItems.
MinimumSucceededpropertyThe items that must succeed under MIN_SUCCEEDED.
ResultKeypropertyThe key the collected results are kept under.
RetryPolicypropertyThe retry policy of an item.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowMapStepDeclaration() #

public WorkflowMapStepDeclaration()

Creates an instance of WorkflowMapStepDeclaration.

property Body #

public WorkflowStepSequenceDeclaration Body { get; init; }

The steps that run for each item.

property CollectionExpression #

public required WorkflowExpressionDefinition CollectionExpression { get; init; }

The collection to map over.

property DeadlineSeconds #

public int? DeadlineSeconds { get; init; }

The deadline of the map in seconds.

property FailurePolicy #

public string FailurePolicy { get; init; }

What a failed item does: FAIL_FAST (the default), COLLECT_PARTIAL or ROUTE_MANUAL.

property FanInPolicy #

public string FanInPolicy { get; init; }

When the map completes: ALL_SUCCEEDED (the default), COLLECT_ALL or MIN_SUCCEEDED.

property GlobalActivityClass #

public string? GlobalActivityClass { get; init; }

A class of activities whose concurrency is limited across all maps.

property ItemKeyExpression #

public required WorkflowExpressionDefinition ItemKeyExpression { get; init; }

The key of an item, evaluated with the item in the state.

property ItemResultExpression #

public required WorkflowExpressionDefinition ItemResultExpression { get; init; }

The result of an item, evaluated after its body.

property ItemStateKey #

public required string ItemStateKey { get; init; }

The state key that holds the current item.

property MaxAggregateStateBytes #

public required int MaxAggregateStateBytes { get; init; }

The size limit of the collected results, in bytes.

property MaxConcurrency #

public required int MaxConcurrency { get; init; }

The items in flight at once; at most WorkflowMapStepDeclaration.MaxItemsand WorkflowRuntime:MaxMapConcurrency.

property MaxItems #

public required int MaxItems { get; init; }

The items allowed in the collection; at most WorkflowRuntime:MaxMapItems.

property MinimumSucceeded #

public int? MinimumSucceeded { get; init; }

The items that must succeed under MIN_SUCCEEDED.

property ResultKey #

public string? ResultKey { get; init; }

The key the collected results are kept under.

property RetryPolicy #

public WorkflowRetryPolicyDeclaration RetryPolicy { get; init; }

The retry policy of an item.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowModuleInfo

public sealed record WorkflowModuleInfo

A function module installed in the engine.

Members

MemberKindSummary
WorkflowModuleInfo()constructorCreates an instance of WorkflowModuleInfo.
ModuleNamepropertyThe module name.
VersionpropertyThe module version.

constructor WorkflowModuleInfo() #

public WorkflowModuleInfo()

Creates an instance of WorkflowModuleInfo.

property ModuleName #

public required string ModuleName { get; init; }

The module name.

property Version #

public required string Version { get; init; }

The module version.

record WorkflowNamedExpressionDefinition

public sealed record WorkflowNamedExpressionDefinition

A named expression: an object property or a business reference part.

Members

MemberKindSummary
WorkflowNamedExpressionDefinition()constructorCreates an instance of WorkflowNamedExpressionDefinition.
ExpressionpropertyThe expression.
NamepropertyThe name.

constructor WorkflowNamedExpressionDefinition() #

public WorkflowNamedExpressionDefinition()

Creates an instance of WorkflowNamedExpressionDefinition.

property Expression #

public required WorkflowExpressionDefinition Expression { get; init; }

The expression.

property Name #

public required string Name { get; init; }

The name.

record WorkflowNullExpressionDefinition

public sealed record WorkflowNullExpressionDefinition : WorkflowExpressionDefinition

The null value ("$type": "null").

Members

MemberKindSummary
WorkflowNullExpressionDefinition()constructorCreates an instance of WorkflowNullExpressionDefinition.

constructor WorkflowNullExpressionDefinition() #

public WorkflowNullExpressionDefinition()

Creates an instance of WorkflowNullExpressionDefinition.

record WorkflowNumberExpressionDefinition

public sealed record WorkflowNumberExpressionDefinition : WorkflowExpressionDefinition

A number literal ("$type": "number"); arithmetic is decimal.

Members

MemberKindSummary
WorkflowNumberExpressionDefinition()constructorCreates an instance of WorkflowNumberExpressionDefinition.
ValuepropertyThe number, as invariant decimal text.

constructor WorkflowNumberExpressionDefinition() #

public WorkflowNumberExpressionDefinition()

Creates an instance of WorkflowNumberExpressionDefinition.

property Value #

public required string Value { get; init; }

The number, as invariant decimal text.

record WorkflowObjectExpressionDefinition

public sealed record WorkflowObjectExpressionDefinition : WorkflowExpressionDefinition

An object built from named expressions ("$type": "object").

Members

MemberKindSummary
WorkflowObjectExpressionDefinition()constructorCreates an instance of WorkflowObjectExpressionDefinition.
PropertiespropertyThe properties.

constructor WorkflowObjectExpressionDefinition() #

public WorkflowObjectExpressionDefinition()

Creates an instance of WorkflowObjectExpressionDefinition.

property Properties #

public IReadOnlyCollection<WorkflowNamedExpressionDefinition> Properties { get; init; }

The properties.

class WorkflowOpenBusinessKeySlot

public static class WorkflowOpenBusinessKeySlot

Rules of the open-business-key slot (StartWorkflowDeduplication.OpenBusinessKey).

Members

MemberKindSummary
AlreadyOpenCodeconstantSafe code of a start the store refused because another start of the same workflow and business key holds the slot, when the store could not return that instance itself.
MarkerconstantThe stored marker of an instance started with StartWorkflowDeduplication.OpenBusinessKey.
OpenStatusconstantThe instance status that holds the slot.

constant AlreadyOpenCode #

public const string AlreadyOpenCode = "WORKFLOW_BUSINESS_KEY_ALREADY_OPEN"

Safe code of a start the store refused because another start of the same workflow and business key holds the slot, when the store could not return that instance itself.

constant Marker #

public const string Marker = "OpenBusinessKey"

The stored marker of an instance started with StartWorkflowDeduplication.OpenBusinessKey.

constant OpenStatus #

public const string OpenStatus = "Open"

The instance status that holds the slot.

record WorkflowPathExpressionDefinition

public sealed record WorkflowPathExpressionDefinition : WorkflowExpressionDefinition

Reads a value by path ("$type": "path").

Members

MemberKindSummary
WorkflowPathExpressionDefinition()constructorCreates an instance of WorkflowPathExpressionDefinition.
PathpropertyThe dotted path.

constructor WorkflowPathExpressionDefinition() #

public WorkflowPathExpressionDefinition()

Creates an instance of WorkflowPathExpressionDefinition.

property Path #

public required string Path { get; init; }

The dotted path. Its root is start (the start request), state, payload (the payload being handled), result (the kept step results) or businessReference; another root reads null.

record WorkflowRabbitAddressDeclaration

public sealed record WorkflowRabbitAddressDeclaration : WorkflowTransportAddressDeclaration

A RabbitMQ exchange and routing key ("$type": "rabbit").

Members

MemberKindSummary
WorkflowRabbitAddressDeclaration()constructorCreates an instance of WorkflowRabbitAddressDeclaration.
CommandpropertyCommand-style request and response semantics, for a peer that dispatches on a command name and answers on a reply queue.
ExchangepropertyThe exchange.
RoutingKeypropertyThe routing key.

constructor WorkflowRabbitAddressDeclaration() #

public WorkflowRabbitAddressDeclaration()

Creates an instance of WorkflowRabbitAddressDeclaration.

property Command #

public WorkflowRabbitCommandDeclaration? Command { get; init; }

Command-style request and response semantics, for a peer that dispatches on a command name and answers on a reply queue. Absent for a plain publish.

property Exchange #

public required string Exchange { get; init; }

The exchange.

property RoutingKey #

public required string RoutingKey { get; init; }

The routing key.

record WorkflowRabbitCommandDeclaration

public sealed record WorkflowRabbitCommandDeclaration

The command-style semantics of a rabbit call: the command name the peer dispatches on, how the message frames it, and whether the call waits for a correlated reply. Header and field names, the reply queue and the timeout are transport configuration, not part of a definition.

Members

MemberKindSummary
WorkflowRabbitCommandDeclaration()constructorCreates an instance of WorkflowRabbitCommandDeclaration.
ExpectReplypropertyWhether the call waits for the correlated reply; true by default.
FramingpropertyHow the message carries the command name; WorkflowRabbitCommandFraming.Envelopeby default.
NamepropertyThe command name the peer dispatches on.

constructor WorkflowRabbitCommandDeclaration() #

public WorkflowRabbitCommandDeclaration()

Creates an instance of WorkflowRabbitCommandDeclaration.

property ExpectReply #

public bool ExpectReply { get; init; }

Whether the call waits for the correlated reply; true by default.

property Framing #

public WorkflowRabbitCommandFraming Framing { get; init; }

How the message carries the command name; WorkflowRabbitCommandFraming.Envelopeby default.

property Name #

public required string Name { get; init; }

The command name the peer dispatches on.

enum WorkflowRabbitCommandFraming

public enum WorkflowRabbitCommandFraming

How a command-style rabbit message carries the command name and the payload.

ValueDescription
Envelope = 0The body is an envelope that holds the command name and the payload.
Header = 1The body is the bare payload; the command name travels in a message header.

record WorkflowRabbitRequest

public sealed record WorkflowRabbitRequest

A RabbitMQ call; the host’s RabbitMQ transport delivers it.

Members

MemberKindSummary
WorkflowRabbitRequest()constructorCreates an instance of WorkflowRabbitRequest.
CommandpropertyThe command-style semantics of the call, when the address declares them.
ExchangepropertyThe exchange to publish to.
PayloadpropertyThe message body.
RoutingKeypropertyThe routing key.

constructor WorkflowRabbitRequest() #

public WorkflowRabbitRequest()

Creates an instance of WorkflowRabbitRequest.

property Command #

public WorkflowRabbitCommandDeclaration? Command { get; init; }

The command-style semantics of the call, when the address declares them.

property Exchange #

public required string Exchange { get; init; }

The exchange to publish to.

property Payload #

public object? Payload { get; init; }

The message body.

property RoutingKey #

public required string RoutingKey { get; init; }

The routing key.

record WorkflowRabbitResponse

public sealed record WorkflowRabbitResponse

The answer of the RabbitMQ transport.

Members

MemberKindSummary
WorkflowRabbitResponse()constructorCreates an instance of WorkflowRabbitResponse.
ErrorpropertyWhy the call failed; not set when it succeeded.
PayloadpropertyThe reply body of a command that expects a reply.
SucceededpropertyWhether the call succeeded.

constructor WorkflowRabbitResponse() #

public WorkflowRabbitResponse()

Creates an instance of WorkflowRabbitResponse.

property Error #

public string? Error { get; init; }

Why the call failed; not set when it succeeded.

property Payload #

public object? Payload { get; init; }

The reply body of a command that expects a reply.

property Succeeded #

public required bool Succeeded { get; init; }

Whether the call succeeded.

record WorkflowRenderEdgeView

public sealed record WorkflowRenderEdgeView

An edge of a definition diagram.

Members

MemberKindSummary
WorkflowRenderEdgeView()constructorCreates an instance of WorkflowRenderEdgeView.
IdpropertyThe edge identifier.
KindpropertyThe edge kind.
LabelpropertyThe label.
SourceNodeIdpropertyThe source node.
SourcePortIdpropertyThe source port, when the edge leaves a port.
TargetNodeIdpropertyThe target node.
TargetPortIdpropertyThe target port, when the edge enters a port.

constructor WorkflowRenderEdgeView() #

public WorkflowRenderEdgeView()

Creates an instance of WorkflowRenderEdgeView.

property Id #

public required string Id { get; init; }

The edge identifier.

property Kind #

public string? Kind { get; init; }

The edge kind.

property Label #

public string? Label { get; init; }

The label.

property SourceNodeId #

public required string SourceNodeId { get; init; }

The source node.

property SourcePortId #

public string? SourcePortId { get; init; }

The source port, when the edge leaves a port.

property TargetNodeId #

public required string TargetNodeId { get; init; }

The target node.

property TargetPortId #

public string? TargetPortId { get; init; }

The target port, when the edge enters a port.

record WorkflowRenderGraphGetRequest

public sealed record WorkflowRenderGraphGetRequest

Reads the render graph of a definition, for drawing it on the client.

Members

MemberKindSummary
WorkflowRenderGraphGetRequest()constructorCreates an instance of WorkflowRenderGraphGetRequest.
IncludeSvgpropertyWhen true, also emits a server-rendered SVG (via StellaOps ElkSharp layout + SVG renderer).
VersionpropertyThe version; when not set, the code-registered definition, or else the active stored version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowRenderGraphGetRequest() #

public WorkflowRenderGraphGetRequest()

Creates an instance of WorkflowRenderGraphGetRequest.

property IncludeSvg #

public bool IncludeSvg { get; init; }

When true, also emits a server-rendered SVG (via StellaOps ElkSharp layout + SVG renderer).

property Version #

public string? Version { get; init; }

The version; when not set, the code-registered definition, or else the active stored version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowRenderGraphGetResponse

public sealed record WorkflowRenderGraphGetResponse

The render graph of a definition.

Members

MemberKindSummary
WorkflowRenderGraphGetResponse()constructorCreates an instance of WorkflowRenderGraphGetResponse.
GraphpropertyThe render graph.
Sourceproperty“catalog” when compiled from a code-registered workflow, “store” when compiled from the persistent import store.
SvgpropertyServer-rendered SVG when the request asked for IncludeSvg = true.
SvgLayoutProviderpropertyLayout provider that produced the SVG (e.g. “ElkSharp”).
VersionpropertyThe version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowRenderGraphGetResponse() #

public WorkflowRenderGraphGetResponse()

Creates an instance of WorkflowRenderGraphGetResponse.

property Graph #

public required WorkflowRenderGraphView Graph { get; init; }

The render graph.

property Source #

public string Source { get; init; }

“catalog” when compiled from a code-registered workflow, “store” when compiled from the persistent import store.

property Svg #

public string? Svg { get; init; }

Server-rendered SVG when the request asked for IncludeSvg = true. Null otherwise.

property SvgLayoutProvider #

public string? SvgLayoutProvider { get; init; }

Layout provider that produced the SVG (e.g. “ElkSharp”). Null when Svg is null.

property Version #

public required string Version { get; init; }

The version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowRenderGraphView

public sealed record WorkflowRenderGraphView

The nodes and edges of a definition diagram.

Members

MemberKindSummary
WorkflowRenderGraphView()constructorCreates an instance of WorkflowRenderGraphView.
EdgespropertyThe edges.
IdpropertyThe graph identifier.
NodespropertyThe nodes.

constructor WorkflowRenderGraphView() #

public WorkflowRenderGraphView()

Creates an instance of WorkflowRenderGraphView.

property Edges #

public required IReadOnlyCollection<WorkflowRenderEdgeView> Edges { get; init; }

The edges.

property Id #

public required string Id { get; init; }

The graph identifier.

property Nodes #

public required IReadOnlyCollection<WorkflowRenderNodeView> Nodes { get; init; }

The nodes.

record WorkflowRenderNodeView

public sealed record WorkflowRenderNodeView

A node of a definition diagram.

Members

MemberKindSummary
WorkflowRenderNodeView()constructorCreates an instance of WorkflowRenderNodeView.
HeightpropertyThe node height.
IconKeypropertyThe icon of the node, such as task or decision.
IdpropertyThe node identifier.
KindpropertyThe node kind, such as Start, End, HumanTask, TransportCall or Decision.
LabelpropertyThe label.
ParentNodeIdpropertyThe node that contains this one, when it is nested.
PortspropertyThe ports of the node.
RoutepropertyThe route of a human task node.
SemanticKeypropertyThe name of what the node stands for, such as the task or step name.
SemanticTypepropertyWhat the node stands for, such as Task or Decision.
TaskTypepropertyThe task type of a human task node.
WidthpropertyThe node width.

constructor WorkflowRenderNodeView() #

public WorkflowRenderNodeView()

Creates an instance of WorkflowRenderNodeView.

property Height #

public double Height { get; init; }

The node height.

property IconKey #

public string? IconKey { get; init; }

The icon of the node, such as task or decision.

property Id #

public required string Id { get; init; }

The node identifier.

property Kind #

public required string Kind { get; init; }

The node kind, such as Start, End, HumanTask, TransportCall or Decision.

property Label #

public required string Label { get; init; }

The label.

property ParentNodeId #

public string? ParentNodeId { get; init; }

The node that contains this one, when it is nested.

property Ports #

public IReadOnlyCollection<WorkflowRenderPortView> Ports { get; init; }

The ports of the node.

property Route #

public string? Route { get; init; }

The route of a human task node.

property SemanticKey #

public string? SemanticKey { get; init; }

The name of what the node stands for, such as the task or step name.

property SemanticType #

public string? SemanticType { get; init; }

What the node stands for, such as Task or Decision.

property TaskType #

public string? TaskType { get; init; }

The task type of a human task node.

property Width #

public double Width { get; init; }

The node width.

record WorkflowRenderPortView

public sealed record WorkflowRenderPortView

A port of a diagram node.

Members

MemberKindSummary
WorkflowRenderPortView()constructorCreates an instance of WorkflowRenderPortView.
HeightpropertyThe port height.
IdpropertyThe port identifier.
SidepropertyThe side of the node the port is on.
WidthpropertyThe port width.

constructor WorkflowRenderPortView() #

public WorkflowRenderPortView()

Creates an instance of WorkflowRenderPortView.

property Height #

public double Height { get; init; }

The port height.

property Id #

public required string Id { get; init; }

The port identifier.

property Side #

public string? Side { get; init; }

The side of the node the port is on.

property Width #

public double Width { get; init; }

The port width.

record WorkflowRenderingRequest

public sealed record WorkflowRenderingRequest

Reads the stored rendering of a definition in one format.

Members

MemberKindSummary
WorkflowRenderingRequest()constructorCreates an instance of WorkflowRenderingRequest.
FormatpropertyOutput format: “svg”, “png”, or “json” (render graph).
VersionpropertySpecific version.
WorkflowNamepropertyWorkflow name to render.

constructor WorkflowRenderingRequest() #

public WorkflowRenderingRequest()

Creates an instance of WorkflowRenderingRequest.

property Format #

public string Format { get; init; }

Output format: “svg”, “png”, or “json” (render graph).

property Version #

public string? Version { get; init; }

Specific version. Null = active version.

property WorkflowName #

public required string WorkflowName { get; init; }

Workflow name to render.

record WorkflowRenderingResponse

public sealed record WorkflowRenderingResponse

The stored rendering of a definition in one format.

Members

MemberKindSummary
WorkflowRenderingResponse()constructorCreates an instance of WorkflowRenderingResponse.
ContentBase64propertyRendered content as base64.
ContentTypepropertyMIME type: image/svg+xml, image/png, or application/json.
FormatpropertyThe format: svg, png or json.
VersionpropertyThe version.
WorkflowNamepropertyThe workflow name.

constructor WorkflowRenderingResponse() #

public WorkflowRenderingResponse()

Creates an instance of WorkflowRenderingResponse.

property ContentBase64 #

public string? ContentBase64 { get; init; }

Rendered content as base64.

property ContentType #

public string? ContentType { get; init; }

MIME type: image/svg+xml, image/png, or application/json.

property Format #

public required string Format { get; init; }

The format: svg, png or json.

property Version #

public required string Version { get; init; }

The version.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

record WorkflowRepeatStepDeclaration

public sealed record WorkflowRepeatStepDeclaration : WorkflowStepDeclaration

Runs its body while a condition holds, at most a number of times ("$type": "repeat").

Members

MemberKindSummary
WorkflowRepeatStepDeclaration()constructorCreates an instance of WorkflowRepeatStepDeclaration.
BodypropertyThe steps of one iteration.
ContinueWhileExpressionpropertyThe condition to run another iteration, evaluated before each one.
IterationStateKeypropertyThe state key that holds the iteration number; not kept when not set.
MaxIterationsExpressionpropertyThe maximum number of iterations.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowRepeatStepDeclaration() #

public WorkflowRepeatStepDeclaration()

Creates an instance of WorkflowRepeatStepDeclaration.

property Body #

public WorkflowStepSequenceDeclaration Body { get; init; }

The steps of one iteration.

property ContinueWhileExpression #

public WorkflowExpressionDefinition? ContinueWhileExpression { get; init; }

The condition to run another iteration, evaluated before each one.

property IterationStateKey #

public string? IterationStateKey { get; init; }

The state key that holds the iteration number; not kept when not set.

property MaxIterationsExpression #

public required WorkflowExpressionDefinition MaxIterationsExpression { get; init; }

The maximum number of iterations.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowRequestContractDeclaration

public sealed record WorkflowRequestContractDeclaration

The contract of a workflow start request.

Members

MemberKindSummary
WorkflowRequestContractDeclaration()constructorCreates an instance of WorkflowRequestContractDeclaration.
AllowAdditionalPropertiespropertyWhether the start request may carry properties the schema does not declare; true by default.
ContractNamepropertyCLR type name of the start request.
SchemapropertyJSON Schema describing the start request shape.
SchemaReferencepropertyA reference to the schema, as an alternative to WorkflowRequestContractDeclaration.Schema.

constructor WorkflowRequestContractDeclaration() #

public WorkflowRequestContractDeclaration()

Creates an instance of WorkflowRequestContractDeclaration.

property AllowAdditionalProperties #

public bool AllowAdditionalProperties { get; init; }

Whether the start request may carry properties the schema does not declare; true by default.

property ContractName #

public string? ContractName { get; init; }

CLR type name of the start request. Retained for backward compatibility but not used for canonical portability — use WorkflowRequestContractDeclaration.Schemainstead.

property Schema #

public IDictionary<string, object?>? Schema { get; init; }

JSON Schema describing the start request shape. This is the portable, CLR-independent contract definition for the workflow’s input.

property SchemaReference #

public string? SchemaReference { get; init; }

A reference to the schema, as an alternative to WorkflowRequestContractDeclaration.Schema.

record WorkflowRequiredModuleDeclaration

public sealed record WorkflowRequiredModuleDeclaration

A function module a workflow needs.

Members

MemberKindSummary
WorkflowRequiredModuleDeclaration()constructorCreates an instance of WorkflowRequiredModuleDeclaration.
ModuleNamepropertyThe module name.
OptionalpropertyWhether the workflow can be imported without the module.
VersionExpressionpropertyThe versions accepted, such as >=1.0.0 (the default).

constructor WorkflowRequiredModuleDeclaration() #

public WorkflowRequiredModuleDeclaration()

Creates an instance of WorkflowRequiredModuleDeclaration.

property ModuleName #

public required string ModuleName { get; init; }

The module name.

property Optional #

public bool Optional { get; init; }

Whether the workflow can be imported without the module. A missing required module refuses the import.

property VersionExpression #

public string VersionExpression { get; init; }

The versions accepted, such as >=1.0.0 (the default).

record WorkflowRetentionRunRequest

public sealed record WorkflowRetentionRunRequest

Runs the instance retention once: marks stale instances and tasks, and purges those past their purge date.

Members

MemberKindSummary
WorkflowRetentionRunRequest()constructorCreates an instance of WorkflowRetentionRunRequest.
CompletedOlderThanDayspropertyOptional.
ReferenceUtcpropertyThe time the retention dates are compared with, in UTC; now when not set.
RunningOlderThanDayspropertyOptional.

constructor WorkflowRetentionRunRequest() #

public WorkflowRetentionRunRequest()

Creates an instance of WorkflowRetentionRunRequest.

property CompletedOlderThanDays #

public int? CompletedOlderThanDays { get; init; }

Optional. When set, purges completed/cancelled instances whose CompletedOnUtc is older than this many days — bypasses the pre-computed PurgeAfterUtc on the projection.

property ReferenceUtc #

public DateTime? ReferenceUtc { get; init; }

The time the retention dates are compared with, in UTC; now when not set.

property RunningOlderThanDays #

public int? RunningOlderThanDays { get; init; }

Optional. When set, marks running (Open) instances whose CreatedOnUtc is older than this many days as stale AND purges them (along with any already-stale rows of the same age) — bypasses the pre-computed StaleAfterUtc / PurgeAfterUtc on the projection.

record WorkflowRetentionRunResponse

public sealed record WorkflowRetentionRunResponse

The counts of a retention run.

Members

MemberKindSummary
WorkflowRetentionRunResponse()constructorCreates an instance of WorkflowRetentionRunResponse.
ExecutedOnUtcpropertyThe reference time of the run, in UTC.
PurgedInstancespropertyThe instances purged.
PurgedRuntimeStatespropertyThe runtime states purged.
PurgedTaskEventspropertyThe task events purged.
PurgedTaskspropertyThe tasks purged.
StaleInstancesMarkedpropertyThe instances marked stale.
StaleTasksMarkedpropertyThe tasks marked stale.

constructor WorkflowRetentionRunResponse() #

public WorkflowRetentionRunResponse()

Creates an instance of WorkflowRetentionRunResponse.

property ExecutedOnUtc #

public required DateTime ExecutedOnUtc { get; init; }

The reference time of the run, in UTC.

property PurgedInstances #

public required int PurgedInstances { get; init; }

The instances purged.

property PurgedRuntimeStates #

public required int PurgedRuntimeStates { get; init; }

The runtime states purged.

property PurgedTaskEvents #

public required int PurgedTaskEvents { get; init; }

The task events purged.

property PurgedTasks #

public required int PurgedTasks { get; init; }

The tasks purged.

property StaleInstancesMarked #

public required int StaleInstancesMarked { get; init; }

The instances marked stale.

property StaleTasksMarked #

public required int StaleTasksMarked { get; init; }

The tasks marked stale.

record WorkflowRetryPolicyDeclaration

public sealed record WorkflowRetryPolicyDeclaration

How failed map items are retried.

Members

MemberKindSummary
WorkflowRetryPolicyDeclaration()constructorCreates an instance of WorkflowRetryPolicyDeclaration.
AttemptTimeoutSecondspropertyThe timeout of one attempt, in seconds.
BackoffKindpropertyHow the delay grows: FIXED (the default), EXPONENTIAL or PROVIDER_HINT.
InitialDelaySecondspropertyThe first delay, in seconds.
JitterPercentpropertyHow much the delay varies, in percent.
MaxSemanticAttemptspropertyThe attempts allowed, the first included; 1 (no retry) by default.
MaximumDelaySecondspropertyThe delay cap, in seconds; none when 0.
MaximumProviderHintSecondspropertyThe cap of a provider-requested delay, in seconds; positive for PROVIDER_HINT.
RetryableCategoriespropertyThe failure categories that are retried.
ReuseBindingpropertyWhether a retry keeps the binding of the previous attempt; true by default.

constructor WorkflowRetryPolicyDeclaration() #

public WorkflowRetryPolicyDeclaration()

Creates an instance of WorkflowRetryPolicyDeclaration.

property AttemptTimeoutSeconds #

public int? AttemptTimeoutSeconds { get; init; }

The timeout of one attempt, in seconds.

property BackoffKind #

public string BackoffKind { get; init; }

How the delay grows: FIXED (the default), EXPONENTIAL or PROVIDER_HINT.

property InitialDelaySeconds #

public int InitialDelaySeconds { get; init; }

The first delay, in seconds.

property JitterPercent #

public int JitterPercent { get; init; }

How much the delay varies, in percent.

property MaxSemanticAttempts #

public int MaxSemanticAttempts { get; init; }

The attempts allowed, the first included; 1 (no retry) by default.

property MaximumDelaySeconds #

public int MaximumDelaySeconds { get; init; }

The delay cap, in seconds; none when 0.

property MaximumProviderHintSeconds #

public int MaximumProviderHintSeconds { get; init; }

The cap of a provider-requested delay, in seconds; positive for PROVIDER_HINT.

property RetryableCategories #

public IReadOnlyCollection<string> RetryableCategories { get; init; }

The failure categories that are retried.

property ReuseBinding #

public bool ReuseBinding { get; init; }

Whether a retry keeps the binding of the previous attempt; true by default.

record WorkflowRuntimeStateSummary

public sealed record WorkflowRuntimeStateSummary

The state a runtime provider keeps for an instance.

Members

MemberKindSummary
WorkflowRuntimeStateSummary()constructorCreates an instance of WorkflowRuntimeStateSummary.
BusinessReferencepropertyThe business reference of the instance: its key and parts.
CompletedOnUtcpropertyWhen the instance completed, in UTC.
CreatedOnUtcpropertyWhen the runtime state was created, in UTC.
LastUpdatedOnUtcpropertyWhen the runtime state last changed, in UTC.
PurgeAfterUtcpropertyWhen the retention job purges the completed instance, in UTC.
RuntimeInstanceIdpropertyThe identifier of the instance in its runtime provider.
RuntimeProviderpropertyThe runtime provider that runs the instance.
RuntimeStatuspropertyThe status the runtime provider reports.
StaleAfterUtcpropertyWhen the retention job marks the open instance stale, in UTC.
StatepropertyThe provider’s state of the instance.

constructor WorkflowRuntimeStateSummary() #

public WorkflowRuntimeStateSummary()

Creates an instance of WorkflowRuntimeStateSummary.

property BusinessReference #

public WorkflowBusinessReference? BusinessReference { get; init; }

The business reference of the instance: its key and parts.

property CompletedOnUtc #

public DateTime? CompletedOnUtc { get; init; }

When the instance completed, in UTC.

property CreatedOnUtc #

public DateTime CreatedOnUtc { get; init; }

When the runtime state was created, in UTC.

property LastUpdatedOnUtc #

public DateTime LastUpdatedOnUtc { get; init; }

When the runtime state last changed, in UTC.

property PurgeAfterUtc #

public DateTime? PurgeAfterUtc { get; init; }

When the retention job purges the completed instance, in UTC.

property RuntimeInstanceId #

public required string RuntimeInstanceId { get; init; }

The identifier of the instance in its runtime provider.

property RuntimeProvider #

public required string RuntimeProvider { get; init; }

The runtime provider that runs the instance.

property RuntimeStatus #

public required string RuntimeStatus { get; init; }

The status the runtime provider reports.

property StaleAfterUtc #

public DateTime? StaleAfterUtc { get; init; }

When the retention job marks the open instance stale, in UTC.

property State #

public IDictionary<string, object?> State { get; init; }

The provider’s state of the instance.

record WorkflowServiceMetadata

public sealed record WorkflowServiceMetadata

What a workflow service offers to tools.

Members

MemberKindSummary
WorkflowServiceMetadata()constructorCreates an instance of WorkflowServiceMetadata.
DiagramProviderpropertyThe diagram layout provider, such as ElkSharp.
ServiceNamepropertyThe service name.
SupportsCanonicalImportValidationpropertyWhether the service validates canonical definitions before an import.
SupportsCanonicalSchemaInspectionpropertyWhether the service serves the canonical definition schema.
SupportsDefinitionInspectionpropertyWhether the service serves definitions for inspection.
SupportsInstanceInspectionpropertyWhether the service serves instances for inspection.

constructor WorkflowServiceMetadata() #

public WorkflowServiceMetadata()

Creates an instance of WorkflowServiceMetadata.

property DiagramProvider #

public required string DiagramProvider { get; init; }

The diagram layout provider, such as ElkSharp.

property ServiceName #

public required string ServiceName { get; init; }

The service name.

property SupportsCanonicalImportValidation #

public bool SupportsCanonicalImportValidation { get; init; }

Whether the service validates canonical definitions before an import.

property SupportsCanonicalSchemaInspection #

public bool SupportsCanonicalSchemaInspection { get; init; }

Whether the service serves the canonical definition schema.

property SupportsDefinitionInspection #

public required bool SupportsDefinitionInspection { get; init; }

Whether the service serves definitions for inspection.

property SupportsInstanceInspection #

public required bool SupportsInstanceInspection { get; init; }

Whether the service serves instances for inspection.

record WorkflowServiceMetadataGetResponse

public sealed record WorkflowServiceMetadataGetResponse

The metadata of the workflow service.

Members

MemberKindSummary
WorkflowServiceMetadataGetResponse()constructorCreates an instance of WorkflowServiceMetadataGetResponse.
MetadatapropertyThe service metadata.

constructor WorkflowServiceMetadataGetResponse() #

public WorkflowServiceMetadataGetResponse()

Creates an instance of WorkflowServiceMetadataGetResponse.

property Metadata #

public required WorkflowServiceMetadata Metadata { get; init; }

The service metadata.

record WorkflowSetStateStepDeclaration

public sealed record WorkflowSetStateStepDeclaration : WorkflowStepDeclaration

Sets a state value ("$type": "set-state").

Members

MemberKindSummary
WorkflowSetStateStepDeclaration()constructorCreates an instance of WorkflowSetStateStepDeclaration.
OnlyIfPresentpropertyWhether to set the value only when it is set: not null and not an empty or white-space string.
StateKeypropertyThe state key.
ValueExpressionpropertyThe value.

constructor WorkflowSetStateStepDeclaration() #

public WorkflowSetStateStepDeclaration()

Creates an instance of WorkflowSetStateStepDeclaration.

property OnlyIfPresent #

public bool OnlyIfPresent { get; init; }

Whether to set the value only when it is set: not null and not an empty or white-space string.

property StateKey #

public required string StateKey { get; init; }

The state key.

property ValueExpression #

public required WorkflowExpressionDefinition ValueExpression { get; init; }

The value.

record WorkflowSignalDeadLetterMessage

public sealed record WorkflowSignalDeadLetterMessage

A dead-lettered signal.

Members

MemberKindSummary
WorkflowSignalDeadLetterMessage()constructorCreates an instance of WorkflowSignalDeadLetterMessage.
CorrelationpropertyThe correlation of the queue message: the signal id.
DeliveryCountpropertyHow many times the signal was delivered before it was dead-lettered.
DueAtUtcpropertyWhen the signal was due, in UTC.
EnqueuedOnUtcpropertyWhen the message was queued, in UTC.
ExpectedVersionpropertyThe runtime-state version the signal was raised against.
IsEnvelopeReadablepropertyWhether the signal envelope could be read.
OccurredAtUtcpropertyWhen the signal was raised, in UTC.
PayloadpropertyThe signal payload.
RawPayloadBase64propertyThe raw message, base64-encoded, when the request asked for it.
ReadErrorpropertyWhy the envelope could not be read.
RuntimeProviderpropertyThe runtime provider of the instance.
SignalIdpropertyThe signal.
SignalTypepropertyThe signal type.
WaitingTokenpropertyThe wait the signal resumes, when it targets one.
WorkflowInstanceIdpropertyThe instance the signal is for.

constructor WorkflowSignalDeadLetterMessage() #

public WorkflowSignalDeadLetterMessage()

Creates an instance of WorkflowSignalDeadLetterMessage.

property Correlation #

public string? Correlation { get; init; }

The correlation of the queue message: the signal id.

property DeliveryCount #

public int DeliveryCount { get; init; }

How many times the signal was delivered before it was dead-lettered.

property DueAtUtc #

public DateTime? DueAtUtc { get; init; }

When the signal was due, in UTC.

property EnqueuedOnUtc #

public DateTime? EnqueuedOnUtc { get; init; }

When the message was queued, in UTC.

property ExpectedVersion #

public long? ExpectedVersion { get; init; }

The runtime-state version the signal was raised against.

property IsEnvelopeReadable #

public bool IsEnvelopeReadable { get; init; }

Whether the signal envelope could be read.

property OccurredAtUtc #

public DateTime? OccurredAtUtc { get; init; }

When the signal was raised, in UTC.

property Payload #

public IReadOnlyDictionary<string, JsonElement> Payload { get; init; }

The signal payload.

property RawPayloadBase64 #

public string? RawPayloadBase64 { get; init; }

The raw message, base64-encoded, when the request asked for it.

property ReadError #

public string? ReadError { get; init; }

Why the envelope could not be read.

property RuntimeProvider #

public string? RuntimeProvider { get; init; }

The runtime provider of the instance.

property SignalId #

public string? SignalId { get; init; }

The signal.

property SignalType #

public string? SignalType { get; init; }

The signal type.

property WaitingToken #

public string? WaitingToken { get; init; }

The wait the signal resumes, when it targets one.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

The instance the signal is for.

record WorkflowSignalDeadLetterReplayRequest

public sealed record WorkflowSignalDeadLetterReplayRequest

Puts a dead-lettered signal back on the signal queue.

Members

MemberKindSummary
WorkflowSignalDeadLetterReplayRequest()constructorCreates an instance of WorkflowSignalDeadLetterReplayRequest.
SignalIdpropertyThe dead-lettered signal.

constructor WorkflowSignalDeadLetterReplayRequest() #

public WorkflowSignalDeadLetterReplayRequest()

Creates an instance of WorkflowSignalDeadLetterReplayRequest.

property SignalId #

public required string SignalId { get; init; }

The dead-lettered signal.

record WorkflowSignalDeadLetterReplayResponse

public sealed record WorkflowSignalDeadLetterReplayResponse

The outcome of a dead letter replay.

Members

MemberKindSummary
WorkflowSignalDeadLetterReplayResponse()constructorCreates an instance of WorkflowSignalDeadLetterReplayResponse.
ReplayedpropertyWhether the signal was put back; false when no such dead letter exists.
SignalIdpropertyThe signal.
SignalTypepropertyThe signal type.
WasEnvelopeReadablepropertyWhether the signal envelope could be read.
WorkflowInstanceIdpropertyThe instance the signal is for.

constructor WorkflowSignalDeadLetterReplayResponse() #

public WorkflowSignalDeadLetterReplayResponse()

Creates an instance of WorkflowSignalDeadLetterReplayResponse.

property Replayed #

public bool Replayed { get; init; }

Whether the signal was put back; false when no such dead letter exists.

property SignalId #

public required string SignalId { get; init; }

The signal.

property SignalType #

public string? SignalType { get; init; }

The signal type.

property WasEnvelopeReadable #

public bool WasEnvelopeReadable { get; init; }

Whether the signal envelope could be read.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

The instance the signal is for.

record WorkflowSignalDeadLettersGetRequest

public sealed record WorkflowSignalDeadLettersGetRequest

Lists the dead-lettered signals.

Members

MemberKindSummary
WorkflowSignalDeadLettersGetRequest()constructorCreates an instance of WorkflowSignalDeadLettersGetRequest.
FilterspropertyA client-side table filter collection that a request body may carry.
IncludeRawPayloadpropertyWhether to return the raw message, base64-encoded.
MaxMessagespropertyHard safety cap on how many messages the underlying driver is allowed to materialise before paging is applied.
PagepropertyPagination (1-based) alternative that matches the UI table payload convention.
PageSizepropertySee WorkflowSignalDeadLettersGetRequest.Page.
SignalIdpropertyA signal filter.
SignalTypepropertyA signal type filter.
SkippropertyPagination: rows to skip.
SortModelpropertyOptional sort.
TakepropertyPagination: max rows to return.
WorkflowInstanceIdpropertyAn instance filter.

constructor WorkflowSignalDeadLettersGetRequest() #

public WorkflowSignalDeadLettersGetRequest()

Creates an instance of WorkflowSignalDeadLettersGetRequest.

property Filters #

public IReadOnlyCollection<object>? Filters { get; init; }

A client-side table filter collection that a request body may carry. The server ignores it and filters only by SignalId, WorkflowInstanceId and SignalType above; the property exists so that such a body is accepted.

property IncludeRawPayload #

public bool IncludeRawPayload { get; init; }

Whether to return the raw message, base64-encoded.

property MaxMessages #

public int MaxMessages { get; init; }

Hard safety cap on how many messages the underlying driver is allowed to materialise before paging is applied. Clamped to 500. Kept separate from WorkflowSignalDeadLettersGetRequest.Takeso a slow driver is never asked for an unbounded result set.

property Page #

public int Page { get; init; }

Pagination (1-based) alternative that matches the UI table payload convention. When both are > 0 the server derives Skip = (Page - 1) * PageSize and Take = PageSize, taking precedence over explicit Skip/Take.

property PageSize #

public int PageSize { get; init; }

See WorkflowSignalDeadLettersGetRequest.Page.

property SignalId #

public string? SignalId { get; init; }

A signal filter.

property SignalType #

public string? SignalType { get; init; }

A signal type filter.

property Skip #

public int Skip { get; init; }

Pagination: rows to skip. 0 = start from beginning.

property SortModel #

public WorkflowSortModel? SortModel { get; init; }

Optional sort. SortBy is whitelisted — allowed values are “signalId”, “workflowInstanceId”, “signalType”, “enqueuedOnUtc”, “deliveryCount”. Null sorts by enqueuedOnUtc desc.

property Take #

public int Take { get; init; }

Pagination: max rows to return. 0 = use WorkflowSignalDeadLettersGetRequest.MaxMessagesas the effective cap.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

An instance filter.

record WorkflowSignalDeadLettersGetResponse

public sealed record WorkflowSignalDeadLettersGetResponse

A page of dead-lettered signals.

Members

MemberKindSummary
WorkflowSignalDeadLettersGetResponse()constructorCreates an instance of WorkflowSignalDeadLettersGetResponse.
MessagespropertyThe dead letters of the page.
TotalCountpropertyTotal number of rows matching the filter (pre-pagination).

constructor WorkflowSignalDeadLettersGetResponse() #

public WorkflowSignalDeadLettersGetResponse()

Creates an instance of WorkflowSignalDeadLettersGetResponse.

property Messages #

public IReadOnlyCollection<WorkflowSignalDeadLetterMessage> Messages { get; init; }

The dead letters of the page.

property TotalCount #

public int TotalCount { get; init; }

Total number of rows matching the filter (pre-pagination).

record WorkflowSignalPumpLastEvent

public sealed record WorkflowSignalPumpLastEvent

One signal pump event.

Members

MemberKindSummary
WorkflowSignalPumpLastEvent()constructorCreates an instance of WorkflowSignalPumpLastEvent.
ConsumerNamepropertyThe consumer.
DeliveryCountpropertyThe delivery attempt.
DurationMspropertyHow long the delivery took, in milliseconds.
MessagepropertyThe error message, for a failure or a dead letter.
OccurredOnUtcpropertyWhen it happened, in UTC.
SignalIdpropertyThe signal.
SignalTypepropertyThe signal type.
WorkflowInstanceIdpropertyThe instance.

constructor WorkflowSignalPumpLastEvent() #

public WorkflowSignalPumpLastEvent()

Creates an instance of WorkflowSignalPumpLastEvent.

property ConsumerName #

public required string ConsumerName { get; init; }

The consumer.

property DeliveryCount #

public int DeliveryCount { get; init; }

The delivery attempt.

property DurationMs #

public long DurationMs { get; init; }

How long the delivery took, in milliseconds.

property Message #

public string? Message { get; init; }

The error message, for a failure or a dead letter.

property OccurredOnUtc #

public DateTime OccurredOnUtc { get; init; }

When it happened, in UTC.

property SignalId #

public string? SignalId { get; init; }

The signal.

property SignalType #

public string? SignalType { get; init; }

The signal type.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

The instance.

record WorkflowSignalPumpStats

public sealed record WorkflowSignalPumpStats

The counts of the signal pump of this process since it started.

Members

MemberKindSummary
WorkflowSignalPumpStats()constructorCreates an instance of WorkflowSignalPumpStats.
ConcurrencySkipCountpropertyThe deliveries put back because the instance kept changing under them.
DeadLetterCountpropertyThe signals dead-lettered.
EmptyPollCountpropertyThe polls that found no signal.
FailureCountpropertyThe failed deliveries.
LastActivityOnUtcpropertyWhen the pump last did anything, in UTC.
LastDeadLetterpropertyThe last dead-lettered signal.
LastDeadLetterOnUtcpropertyWhen a signal was last dead-lettered, in UTC.
LastFailurepropertyThe last failed delivery.
LastFailureOnUtcpropertyWhen a delivery last failed, in UTC.
LastSuccesspropertyThe last processed signal.
LastSuccessOnUtcpropertyWhen a signal was last processed, in UTC.
ProcessedCountpropertyThe signals processed.
SignalsByTypepropertyThe counts by signal type.
StartedOnUtcpropertyWhen the counting started, in UTC.

constructor WorkflowSignalPumpStats() #

public WorkflowSignalPumpStats()

Creates an instance of WorkflowSignalPumpStats.

property ConcurrencySkipCount #

public long ConcurrencySkipCount { get; init; }

The deliveries put back because the instance kept changing under them.

property DeadLetterCount #

public required long DeadLetterCount { get; init; }

The signals dead-lettered.

property EmptyPollCount #

public required long EmptyPollCount { get; init; }

The polls that found no signal.

property FailureCount #

public required long FailureCount { get; init; }

The failed deliveries.

property LastActivityOnUtc #

public DateTime? LastActivityOnUtc { get; init; }

When the pump last did anything, in UTC.

property LastDeadLetter #

public WorkflowSignalPumpLastEvent? LastDeadLetter { get; init; }

The last dead-lettered signal.

property LastDeadLetterOnUtc #

public DateTime? LastDeadLetterOnUtc { get; init; }

When a signal was last dead-lettered, in UTC.

property LastFailure #

public WorkflowSignalPumpLastEvent? LastFailure { get; init; }

The last failed delivery.

property LastFailureOnUtc #

public DateTime? LastFailureOnUtc { get; init; }

When a delivery last failed, in UTC.

property LastSuccess #

public WorkflowSignalPumpLastEvent? LastSuccess { get; init; }

The last processed signal.

property LastSuccessOnUtc #

public DateTime? LastSuccessOnUtc { get; init; }

When a signal was last processed, in UTC.

property ProcessedCount #

public required long ProcessedCount { get; init; }

The signals processed.

property SignalsByType #

public IReadOnlyCollection<WorkflowSignalPumpStatsSignalType> SignalsByType { get; init; }

The counts by signal type.

property StartedOnUtc #

public required DateTime StartedOnUtc { get; init; }

When the counting started, in UTC.

record WorkflowSignalPumpStatsGetResponse

public sealed record WorkflowSignalPumpStatsGetResponse

The signal pump counts of this process.

Members

MemberKindSummary
WorkflowSignalPumpStatsGetResponse()constructorCreates an instance of WorkflowSignalPumpStatsGetResponse.
StatspropertyThe signal pump counts.

constructor WorkflowSignalPumpStatsGetResponse() #

public WorkflowSignalPumpStatsGetResponse()

Creates an instance of WorkflowSignalPumpStatsGetResponse.

property Stats #

public required WorkflowSignalPumpStats Stats { get; init; }

The signal pump counts.

record WorkflowSignalPumpStatsSignalType

public sealed record WorkflowSignalPumpStatsSignalType

The signal pump counts of one signal type.

Members

MemberKindSummary
WorkflowSignalPumpStatsSignalType()constructorCreates an instance of WorkflowSignalPumpStatsSignalType.
ConcurrencySkipCountpropertyThe deliveries put back because the instance kept changing under them.
DeadLetterCountpropertyThe signals dead-lettered.
FailureCountpropertyThe failed deliveries.
ProcessedCountpropertyThe signals processed.
SignalTypepropertyThe signal type.

constructor WorkflowSignalPumpStatsSignalType() #

public WorkflowSignalPumpStatsSignalType()

Creates an instance of WorkflowSignalPumpStatsSignalType.

property ConcurrencySkipCount #

public long ConcurrencySkipCount { get; init; }

The deliveries put back because the instance kept changing under them.

property DeadLetterCount #

public required long DeadLetterCount { get; init; }

The signals dead-lettered.

property FailureCount #

public required long FailureCount { get; init; }

The failed deliveries.

property ProcessedCount #

public required long ProcessedCount { get; init; }

The signals processed.

property SignalType #

public required string SignalType { get; init; }

The signal type.

record WorkflowSignalRaiseRequest

public sealed record WorkflowSignalRaiseRequest

Raises a signal for a waiting instance (POST /api/workflow/signals/raise).

Members

MemberKindSummary
WorkflowSignalRaiseRequest()constructorCreates an instance of WorkflowSignalRaiseRequest.
PayloadpropertyThe signal’s payload; the waiting step keeps it under its result key.
SignalNamepropertyThe signal name the instance waits for; without it, the signal goes to the instance’s first wait for an external signal.
WaitingTokenpropertyThe token of a specific wait.
WorkflowInstanceIdpropertyThe waiting instance.

constructor WorkflowSignalRaiseRequest() #

public WorkflowSignalRaiseRequest()

Creates an instance of WorkflowSignalRaiseRequest.

property Payload #

public IDictionary<string, object?> Payload { get; init; }

The signal’s payload; the waiting step keeps it under its result key.

property SignalName #

public string? SignalName { get; init; }

The signal name the instance waits for; without it, the signal goes to the instance’s first wait for an external signal.

property WaitingToken #

public string? WaitingToken { get; init; }

The token of a specific wait.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The waiting instance.

record WorkflowSignalRaiseResponse

public sealed record WorkflowSignalRaiseResponse

The answer to a raised signal.

Members

MemberKindSummary
WorkflowSignalRaiseResponse()constructorCreates an instance of WorkflowSignalRaiseResponse.
QueuedpropertyWhether the signal was queued.
SignalIdpropertyThe queued signal.
WorkflowInstanceIdpropertyThe instance.

constructor WorkflowSignalRaiseResponse() #

public WorkflowSignalRaiseResponse()

Creates an instance of WorkflowSignalRaiseResponse.

property Queued #

public required bool Queued { get; init; }

Whether the signal was queued.

property SignalId #

public required string SignalId { get; init; }

The queued signal.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The instance.

record WorkflowSortModel

public sealed record WorkflowSortModel

Server-side sort request for list endpoints. WorkflowSortModel.Propis matched against a per-endpoint whitelist on the server; unknown values are rejected with a validation error rather than silently ignored, so typos and client/server drift surface early.

Members

MemberKindSummary
WorkflowSortModel()constructorCreates an instance of WorkflowSortModel.
Directionproperty“asc” or “desc”.
ProppropertyWhitelisted column identifier (e.g. “createdOnUtc”, “workflowName”).

constructor WorkflowSortModel() #

public WorkflowSortModel()

Creates an instance of WorkflowSortModel.

property Direction #

public string Direction { get; init; }

“asc” or “desc”. Defaults to ascending.

property Prop #

public required string Prop { get; init; }

Whitelisted column identifier (e.g. “createdOnUtc”, “workflowName”).

record WorkflowSourceFormatDiagnosticDto

public sealed record WorkflowSourceFormatDiagnosticDto

A finding of a source format conversion.

Members

MemberKindSummary
WorkflowSourceFormatDiagnosticDto()constructorCreates an instance of WorkflowSourceFormatDiagnosticDto.
CodepropertyThe diagnostic code.
LocationpropertyWhere in the source, when known.
MessagepropertyThe message.
SeveritypropertyThe severity, such as Error.

constructor WorkflowSourceFormatDiagnosticDto() #

public WorkflowSourceFormatDiagnosticDto()

Creates an instance of WorkflowSourceFormatDiagnosticDto.

property Code #

public required string Code { get; init; }

The diagnostic code.

property Location #

public string? Location { get; init; }

Where in the source, when known.

property Message #

public required string Message { get; init; }

The message.

property Severity #

public required string Severity { get; init; }

The severity, such as Error.

record WorkflowStartDeclaration

public sealed record WorkflowStartDeclaration

What happens when a workflow instance starts.

Members

MemberKindSummary
WorkflowStartDeclaration()constructorCreates an instance of WorkflowStartDeclaration.
InitialSequencepropertyThe first steps of an instance.
InitialTaskNamepropertyA task to open when an instance starts.
InitializeStateExpressionpropertyThe initial state: an object expression; start.* paths read the start request.

constructor WorkflowStartDeclaration() #

public WorkflowStartDeclaration()

Creates an instance of WorkflowStartDeclaration.

property InitialSequence #

public WorkflowStepSequenceDeclaration InitialSequence { get; init; }

The first steps of an instance.

property InitialTaskName #

public string? InitialTaskName { get; init; }

A task to open when an instance starts.

property InitializeStateExpression #

public required WorkflowExpressionDefinition InitializeStateExpression { get; init; }

The initial state: an object expression; start.* paths read the start request.

record WorkflowStepDeclaration

public abstract record WorkflowStepDeclaration

A step of a canonical definition. The $type property names the step kind.

Members

MemberKindSummary
WorkflowStepDeclaration()constructorCreates an instance of WorkflowStepDeclaration.

constructor WorkflowStepDeclaration() #

protected WorkflowStepDeclaration()

Creates an instance of WorkflowStepDeclaration.

record WorkflowStepSequenceDeclaration

public sealed record WorkflowStepSequenceDeclaration

A sequence of steps.

Members

MemberKindSummary
WorkflowStepSequenceDeclaration()constructorCreates an instance of WorkflowStepSequenceDeclaration.
StepspropertyThe steps, run in order.

constructor WorkflowStepSequenceDeclaration() #

public WorkflowStepSequenceDeclaration()

Creates an instance of WorkflowStepSequenceDeclaration.

property Steps #

public IReadOnlyCollection<WorkflowStepDeclaration> Steps { get; init; }

The steps, run in order.

record WorkflowStringExpressionDefinition

public sealed record WorkflowStringExpressionDefinition : WorkflowExpressionDefinition

A string literal ("$type": "string").

Members

MemberKindSummary
WorkflowStringExpressionDefinition()constructorCreates an instance of WorkflowStringExpressionDefinition.
ValuepropertyThe value.

constructor WorkflowStringExpressionDefinition() #

public WorkflowStringExpressionDefinition()

Creates an instance of WorkflowStringExpressionDefinition.

property Value #

public required string Value { get; init; }

The value.

record WorkflowSubWorkflowStepDeclaration

public sealed record WorkflowSubWorkflowStepDeclaration : WorkflowStepDeclaration

Runs another workflow as a child and waits for it ("$type": "sub-workflow").

Members

MemberKindSummary
WorkflowSubWorkflowStepDeclaration()constructorCreates an instance of WorkflowSubWorkflowStepDeclaration.
InvocationpropertyThe child workflow to run.
ResultKeypropertyThe key the child’s result is kept under.
StepNamepropertyThe step name, shown in diagrams and in result.lastFailure.
WhenFailurepropertyOptional branch run when the child workflow fails or ends in a status other than completed; it reads the failure as result.lastFailure.

constructor WorkflowSubWorkflowStepDeclaration() #

public WorkflowSubWorkflowStepDeclaration()

Creates an instance of WorkflowSubWorkflowStepDeclaration.

property Invocation #

public required WorkflowWorkflowInvocationDeclaration Invocation { get; init; }

The child workflow to run.

property ResultKey #

public string? ResultKey { get; init; }

The key the child’s result is kept under.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams and in result.lastFailure.

property WhenFailure #

public WorkflowStepSequenceDeclaration? WhenFailure { get; init; }

Optional branch run when the child workflow fails or ends in a status other than completed; it reads the failure as result.lastFailure. An empty branch ignores the failure and continues; a missing one leaves it unhandled. Declared last and omitted when null, so definitions without it are unchanged.

record WorkflowSupportedFormatDescriptor

public sealed record WorkflowSupportedFormatDescriptor

A source format of workflow definitions.

Members

MemberKindSummary
WorkflowSupportedFormatDescriptor()constructorCreates an instance of WorkflowSupportedFormatDescriptor.
ContentTypepropertyThe media type.
DisplayNamepropertyThe display name.
FileExtensionpropertyThe file extension.
FormatIdpropertyThe format id, such as canonical-json, canonical-yaml or canonical-bundle.
IsBinarypropertyWhether the content is binary.
SupportsExportpropertyWhether definitions can be exported to the format.
SupportsImportpropertyWhether definitions can be imported from the format.

constructor WorkflowSupportedFormatDescriptor() #

public WorkflowSupportedFormatDescriptor()

Creates an instance of WorkflowSupportedFormatDescriptor.

property ContentType #

public required string ContentType { get; init; }

The media type.

property DisplayName #

public required string DisplayName { get; init; }

The display name.

property FileExtension #

public required string FileExtension { get; init; }

The file extension.

property FormatId #

public required string FormatId { get; init; }

The format id, such as canonical-json, canonical-yaml or canonical-bundle.

property IsBinary #

public bool IsBinary { get; init; }

Whether the content is binary.

property SupportsExport #

public bool SupportsExport { get; init; }

Whether definitions can be exported to the format.

property SupportsImport #

public bool SupportsImport { get; init; }

Whether definitions can be imported from the format.

record WorkflowSupportedFormatsGetRequest

public sealed record WorkflowSupportedFormatsGetRequest

Lists the source formats the server converts.

Members

MemberKindSummary
WorkflowSupportedFormatsGetRequest()constructorCreates an instance of WorkflowSupportedFormatsGetRequest.

constructor WorkflowSupportedFormatsGetRequest() #

public WorkflowSupportedFormatsGetRequest()

Creates an instance of WorkflowSupportedFormatsGetRequest.

record WorkflowSupportedFormatsGetResponse

public sealed record WorkflowSupportedFormatsGetResponse

The source formats the server converts.

Members

MemberKindSummary
WorkflowSupportedFormatsGetResponse()constructorCreates an instance of WorkflowSupportedFormatsGetResponse.
FormatspropertyThe formats.

constructor WorkflowSupportedFormatsGetResponse() #

public WorkflowSupportedFormatsGetResponse()

Creates an instance of WorkflowSupportedFormatsGetResponse.

property Formats #

public required IReadOnlyCollection<WorkflowSupportedFormatDescriptor> Formats { get; init; }

The formats.

record WorkflowTaskAssignRequest

public sealed record WorkflowTaskAssignRequest

Assigns a task to a user or to roles (POST /api/workflow/tasks/{id}/assign). Assigning to another user or to roles needs an administrator role.

Members

MemberKindSummary
WorkflowTaskAssignRequest()constructorCreates an instance of WorkflowTaskAssignRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
TargetRolespropertyRoles to assign the task to instead of a user.
TargetUserIdpropertyThe user to assign the task to; the acting user when not set.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskAssignRequest() #

public WorkflowTaskAssignRequest()

Creates an instance of WorkflowTaskAssignRequest.

property ActorId #

public required string ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property TargetRoles #

public IReadOnlyCollection<string> TargetRoles { get; init; }

Roles to assign the task to instead of a user.

property TargetUserId #

public string? TargetUserId { get; init; }

The user to assign the task to; the acting user when not set.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskAssignResponse

public sealed record WorkflowTaskAssignResponse

The result of a task assignment.

Members

MemberKindSummary
WorkflowTaskAssignResponse()constructorCreates an instance of WorkflowTaskAssignResponse.
AssigneepropertyThe assigned user, when the task is assigned to a user.
EffectiveRolespropertyThe roles that may work the task after the assignment.
RuntimeRolespropertyThe task’s runtime roles after the assignment.
StatuspropertyThe task status after the assignment.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskAssignResponse() #

public WorkflowTaskAssignResponse()

Creates an instance of WorkflowTaskAssignResponse.

property Assignee #

public required string? Assignee { get; init; }

The assigned user, when the task is assigned to a user.

property EffectiveRoles #

public IReadOnlyCollection<string> EffectiveRoles { get; init; }

The roles that may work the task after the assignment.

property RuntimeRoles #

public IReadOnlyCollection<string> RuntimeRoles { get; init; }

The task’s runtime roles after the assignment.

property Status #

public required string Status { get; init; }

The task status after the assignment.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskCompleteRequest

public sealed record WorkflowTaskCompleteRequest

Completes a task as the acting user (POST /api/workflow/tasks/{id}/complete).

Members

MemberKindSummary
WorkflowTaskCompleteRequest()constructorCreates an instance of WorkflowTaskCompleteRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
PayloadpropertyThe answer to the task; the task’s completion steps read it as payload.*.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskCompleteRequest() #

public WorkflowTaskCompleteRequest()

Creates an instance of WorkflowTaskCompleteRequest.

property ActorId #

public required string ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property Payload #

public IDictionary<string, object?> Payload { get; init; }

The answer to the task; the task’s completion steps read it as payload.*.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskCompleteResponse

public sealed record WorkflowTaskCompleteResponse

The result of a task completion.

Members

MemberKindSummary
WorkflowTaskCompleteResponse()constructorCreates an instance of WorkflowTaskCompleteResponse.
CompletedpropertyWhether the task was completed.
NextTaskspropertyThe tasks the completion opened.
WorkflowInstanceIdpropertyThe instance the task belongs to.
WorkflowStatepropertyThe workflow state after the operation.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskCompleteResponse() #

public WorkflowTaskCompleteResponse()

Creates an instance of WorkflowTaskCompleteResponse.

property Completed #

public required bool Completed { get; init; }

Whether the task was completed.

property NextTasks #

public IReadOnlyCollection<WorkflowTaskSummary> NextTasks { get; init; }

The tasks the completion opened.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

The instance the task belongs to.

property WorkflowState #

public IDictionary<string, object?> WorkflowState { get; init; }

The workflow state after the operation.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskDeclaration

public sealed record WorkflowTaskDeclaration

A human task a workflow declares, which an activate-task step opens.

Members

MemberKindSummary
WorkflowTaskDeclaration()constructorCreates an instance of WorkflowTaskDeclaration.
OnCompletepropertyThe steps that run when a user completes the task.
OnTimeoutpropertyRuns when the task is still open at its timeout: the engine closes the task as expired and continues with this sequence instead of WorkflowTaskDeclaration.OnComplete(a BPMN interrupting timer).
PayloadExpressionpropertyThe payload the task carries to its client.
RouteExpressionpropertyThe route of the task.
SingleOpenSlotpropertyOptional single-open slot: while a task of the same execution that holds this slot is open or assigned, the projection store refuses to open another one (WorkflowTaskSingleOpenSlot.AlreadyOpenCode).
TaskNamepropertyThe task name.
TaskRolespropertyThe roles that may work the task; the workflow roles when empty.
TaskTypepropertyThe task type: the form a client shows.
TimeoutSecondspropertyOptional timeout for the human task in seconds, counted from its activation.

constructor WorkflowTaskDeclaration() #

public WorkflowTaskDeclaration()

Creates an instance of WorkflowTaskDeclaration.

property OnComplete #

public WorkflowStepSequenceDeclaration OnComplete { get; init; }

The steps that run when a user completes the task.

property OnTimeout #

public WorkflowStepSequenceDeclaration? OnTimeout { get; init; }

Runs when the task is still open at its timeout: the engine closes the task as expired and continues with this sequence instead of WorkflowTaskDeclaration.OnComplete(a BPMN interrupting timer). Requires WorkflowTaskDeclaration.TimeoutSeconds.

property PayloadExpression #

public required WorkflowExpressionDefinition PayloadExpression { get; init; }

The payload the task carries to its client.

property RouteExpression #

public required WorkflowExpressionDefinition RouteExpression { get; init; }

The route of the task.

property SingleOpenSlot #

public string? SingleOpenSlot { get; init; }

Optional single-open slot: while a task of the same execution that holds this slot is open or assigned, the projection store refuses to open another one (WorkflowTaskSingleOpenSlot.AlreadyOpenCode). Declared after WorkflowTaskDeclaration.OnTimeoutand omitted when null, so definitions without it are unchanged.

property TaskName #

public required string TaskName { get; init; }

The task name.

property TaskRoles #

public IReadOnlyCollection<string> TaskRoles { get; init; }

The roles that may work the task; the workflow roles when empty.

property TaskType #

public required string TaskType { get; init; }

The task type: the form a client shows.

property TimeoutSeconds #

public int? TimeoutSeconds { get; init; }

Optional timeout for the human task in seconds, counted from its activation. Without WorkflowTaskDeclaration.OnTimeoutit only sets the task’s deadline.

record WorkflowTaskDescriptor

public sealed record WorkflowTaskDescriptor

A human task a workflow definition declares.

Members

MemberKindSummary
WorkflowTaskDescriptor()constructorCreates an instance of WorkflowTaskDescriptor.
RoutepropertyThe route of the task.
TaskNamepropertyThe task name.
TaskRolespropertyThe roles that may work on the task.
TaskTypepropertyThe task type: the form a client shows.

constructor WorkflowTaskDescriptor() #

public WorkflowTaskDescriptor()

Creates an instance of WorkflowTaskDescriptor.

property Route #

public required string Route { get; init; }

The route of the task.

property TaskName #

public required string TaskName { get; init; }

The task name.

property TaskRoles #

public IReadOnlyCollection<string> TaskRoles { get; init; }

The roles that may work on the task.

property TaskType #

public required string TaskType { get; init; }

The task type: the form a client shows.

record WorkflowTaskEventSummary

public sealed record WorkflowTaskEventSummary

One event in the history of a task, for example its assignment or completion.

Members

MemberKindSummary
WorkflowTaskEventSummary()constructorCreates an instance of WorkflowTaskEventSummary.
ActorIdpropertyThe user who caused the event, when one did.
CreatedOnUtcpropertyWhen the event happened, in UTC.
EventTypepropertyWhat happened to the task.
PayloadpropertyThe data of the event.
TaskNamepropertyThe task name.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskEventSummary() #

public WorkflowTaskEventSummary()

Creates an instance of WorkflowTaskEventSummary.

property ActorId #

public string? ActorId { get; init; }

The user who caused the event, when one did.

property CreatedOnUtc #

public DateTime CreatedOnUtc { get; init; }

When the event happened, in UTC.

property EventType #

public required string EventType { get; init; }

What happened to the task.

property Payload #

public IDictionary<string, object?> Payload { get; init; }

The data of the event.

property TaskName #

public string? TaskName { get; init; }

The task name.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskGetRequest

public sealed record WorkflowTaskGetRequest

Looks up one task (GET /api/workflow/tasks/{id}).

Members

MemberKindSummary
WorkflowTaskGetRequest()constructorCreates an instance of WorkflowTaskGetRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskGetRequest() #

public WorkflowTaskGetRequest()

Creates an instance of WorkflowTaskGetRequest.

property ActorId #

public string? ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskGetResponse

public sealed record WorkflowTaskGetResponse

One task.

Members

MemberKindSummary
WorkflowTaskGetResponse()constructorCreates an instance of WorkflowTaskGetResponse.
TaskpropertyThe task summary.

constructor WorkflowTaskGetResponse() #

public WorkflowTaskGetResponse()

Creates an instance of WorkflowTaskGetResponse.

property Task #

public required WorkflowTaskSummary Task { get; init; }

The task summary.

record WorkflowTaskReleaseRequest

public sealed record WorkflowTaskReleaseRequest

Releases an assigned task (POST /api/workflow/tasks/{id}/release). Only the assignee or an administrator may release a task.

Members

MemberKindSummary
WorkflowTaskReleaseRequest()constructorCreates an instance of WorkflowTaskReleaseRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskReleaseRequest() #

public WorkflowTaskReleaseRequest()

Creates an instance of WorkflowTaskReleaseRequest.

property ActorId #

public required string ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

record WorkflowTaskReleaseResponse

public sealed record WorkflowTaskReleaseResponse

The result of a task release.

Members

MemberKindSummary
WorkflowTaskReleaseResponse()constructorCreates an instance of WorkflowTaskReleaseResponse.
ReleasedpropertyWhether the task was released.
WorkflowTaskIdpropertyThe task identifier.

constructor WorkflowTaskReleaseResponse() #

public WorkflowTaskReleaseResponse()

Creates an instance of WorkflowTaskReleaseResponse.

property Released #

public required bool Released { get; init; }

Whether the task was released.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

class WorkflowTaskSingleOpenSlot

public static class WorkflowTaskSingleOpenSlot

Rules of the single-open task slot (WorkflowTaskDeclaration.SingleOpenSlot).

Members

MemberKindSummary
AlreadyOpenCodeconstantSafe code of a refused task: another task of the execution already holds the slot.
MaxLengthconstantThe maximum length of a slot.
IsValid(string)methodA slot is an identifier: a letter, then letters, digits, ‘_’, ‘-’ or ‘.’, at most WorkflowTaskSingleOpenSlot.MaxLengthcharacters.

constant AlreadyOpenCode #

public const string AlreadyOpenCode = "WORKFLOW_TASK_SLOT_ALREADY_OPEN"

Safe code of a refused task: another task of the execution already holds the slot.

constant MaxLength #

public const int MaxLength = 64

The maximum length of a slot.

method IsValid(string) #

public static bool IsValid(string? slot)

A slot is an identifier: a letter, then letters, digits, ‘_’, ‘-’ or ‘.’, at most WorkflowTaskSingleOpenSlot.MaxLengthcharacters.

record WorkflowTaskSummary

public sealed record WorkflowTaskSummary

A human task in a list, a lookup or the result of a start or a completion.

Members

MemberKindSummary
WorkflowTaskSummary()constructorCreates an instance of WorkflowTaskSummary.
AllowedActionspropertyThe actions the caller may take on the task.
AssigneepropertyThe user the task is assigned to; not set while it is unassigned.
BusinessReferencepropertyThe business reference of the instance: its key and parts.
CompletedOnUtcpropertyWhen the task was completed, in UTC.
CreatedOnUtcpropertyWhen the task was opened, in UTC.
DeadlineUtcpropertyThe deadline by which the task should be completed.
EffectiveRolespropertyThe roles that may work the task.
PayloadpropertyThe data the task shows.
PurgeAfterUtcpropertyWhen the retention job purges the task, in UTC.
RoutepropertyThe route of the task.
RuntimeRolespropertyThe roles computed when the task was opened; they replace the task roles.
StaleAfterUtcpropertyWhen the retention job marks the open task stale, in UTC.
StatuspropertyThe task status: Open, Assigned, Completed, Expired, Cancelled or Stale.
TaskNamepropertyThe task name, as declared in the workflow.
TaskRolespropertyThe roles the task declares; they replace the workflow roles.
TaskTypepropertyThe task type: the form a client shows.
WorkflowInstanceIdpropertyThe instance the task belongs to.
WorkflowNamepropertyThe workflow name.
WorkflowRolespropertyThe roles of the workflow.
WorkflowTaskIdpropertyThe task identifier.
WorkflowVersionpropertyThe workflow version.

constructor WorkflowTaskSummary() #

public WorkflowTaskSummary()

Creates an instance of WorkflowTaskSummary.

property AllowedActions #

public IReadOnlyCollection<string> AllowedActions { get; init; }

The actions the caller may take on the task.

property Assignee #

public string? Assignee { get; init; }

The user the task is assigned to; not set while it is unassigned.

property BusinessReference #

public WorkflowBusinessReference? BusinessReference { get; init; }

The business reference of the instance: its key and parts.

property CompletedOnUtc #

public DateTime? CompletedOnUtc { get; init; }

When the task was completed, in UTC.

property CreatedOnUtc #

public DateTime CreatedOnUtc { get; init; }

When the task was opened, in UTC.

property DeadlineUtc #

public DateTime? DeadlineUtc { get; init; }

The deadline by which the task should be completed. Computed as CreatedOnUtc + TimeoutSeconds from the task declaration. Null means no deadline — the task runs indefinitely until completed or purged by retention.

property EffectiveRoles #

public IReadOnlyCollection<string> EffectiveRoles { get; init; }

The roles that may work the task.

property Payload #

public IDictionary<string, object?> Payload { get; init; }

The data the task shows.

property PurgeAfterUtc #

public DateTime? PurgeAfterUtc { get; init; }

When the retention job purges the task, in UTC.

property Route #

public required string Route { get; init; }

The route of the task.

property RuntimeRoles #

public IReadOnlyCollection<string> RuntimeRoles { get; init; }

The roles computed when the task was opened; they replace the task roles.

property StaleAfterUtc #

public DateTime? StaleAfterUtc { get; init; }

When the retention job marks the open task stale, in UTC.

property Status #

public string Status { get; init; }

The task status: Open, Assigned, Completed, Expired, Cancelled or Stale.

property TaskName #

public required string TaskName { get; init; }

The task name, as declared in the workflow.

property TaskRoles #

public IReadOnlyCollection<string> TaskRoles { get; init; }

The roles the task declares; they replace the workflow roles.

property TaskType #

public required string TaskType { get; init; }

The task type: the form a client shows.

property WorkflowInstanceId #

public required string WorkflowInstanceId { get; init; }

The instance the task belongs to.

property WorkflowName #

public required string WorkflowName { get; init; }

The workflow name.

property WorkflowRoles #

public IReadOnlyCollection<string> WorkflowRoles { get; init; }

The roles of the workflow.

property WorkflowTaskId #

public required string WorkflowTaskId { get; init; }

The task identifier.

property WorkflowVersion #

public required string WorkflowVersion { get; init; }

The workflow version.

record WorkflowTasksGetRequest

public sealed record WorkflowTasksGetRequest

The filters, paging and sort of a task list (GET /api/workflow/tasks).

Members

MemberKindSummary
WorkflowTasksGetRequest()constructorCreates an instance of WorkflowTasksGetRequest.
ActorIdpropertyThe acting user.
ActorRolespropertyThe roles of the acting user.
AssigneepropertyLists only tasks assigned to this user.
BusinessReferenceKeypropertyLists only tasks with this business key.
BusinessReferencePartspropertyLists only tasks whose business reference has these parts.
CandidateRolespropertyLists only tasks whose effective roles include one of these roles, ignoring case.
FilterspropertyA client-side table filter collection that a request body may carry.
PagepropertyPagination (1-based) alternative that matches the UI table payload convention.
PageSizepropertySee WorkflowTasksGetRequest.Page.
SkippropertyPagination: rows to skip.
SortModelpropertyOptional sort.
StatuspropertyLists only tasks with this status.
TakepropertyPagination: max rows to return.
WorkflowInstanceIdpropertyLists only tasks of this instance.
WorkflowNamepropertyLists only tasks of this workflow.
WorkflowVersionpropertyLists only tasks of this version.

constructor WorkflowTasksGetRequest() #

public WorkflowTasksGetRequest()

Creates an instance of WorkflowTasksGetRequest.

property ActorId #

public string? ActorId { get; init; }

The acting user. The HTTP endpoints set it from the authenticated caller. The allowed actions are computed for this user; the filters decide which tasks are listed.

property ActorRoles #

public IReadOnlyCollection<string> ActorRoles { get; init; }

The roles of the acting user. The HTTP endpoints set them from the authenticated caller.

property Assignee #

public string? Assignee { get; init; }

Lists only tasks assigned to this user.

property BusinessReferenceKey #

public string? BusinessReferenceKey { get; init; }

Lists only tasks with this business key.

property BusinessReferenceParts #

public IDictionary<string, object?> BusinessReferenceParts { get; init; }

Lists only tasks whose business reference has these parts.

property CandidateRoles #

public IReadOnlyCollection<string> CandidateRoles { get; init; }

Lists only tasks whose effective roles include one of these roles, ignoring case.

property Filters #

public IReadOnlyCollection<object>? Filters { get; init; }

A client-side table filter collection that a request body may carry. The server ignores it and filters only by the named properties above; the property exists so that such a body is accepted.

property Page #

public int Page { get; init; }

Pagination (1-based) alternative that matches the UI table payload convention. When both are > 0 the server derives Skip = (Page - 1) * PageSize and Take = PageSize, taking precedence over explicit Skip/Take.

property PageSize #

public int PageSize { get; init; }

See WorkflowTasksGetRequest.Page.

property Skip #

public int Skip { get; init; }

Pagination: rows to skip. 0 = start from beginning.

property SortModel #

public WorkflowSortModel? SortModel { get; init; }

Optional sort. SortBy is whitelisted per-endpoint — for tasks the allowed values are “workflowTaskId”, “taskName”, “workflowName”, “workflowVersion”, “status”, “assignee”, “createdOnUtc”, “completedOnUtc”, “deadlineUtc”. Null sorts by createdOnUtc desc by default.

property Status #

public string? Status { get; init; }

Lists only tasks with this status.

property Take #

public int Take { get; init; }

Pagination: max rows to return. 0 = use server default cap.

property WorkflowInstanceId #

public string? WorkflowInstanceId { get; init; }

Lists only tasks of this instance.

property WorkflowName #

public string? WorkflowName { get; init; }

Lists only tasks of this workflow.

property WorkflowVersion #

public string? WorkflowVersion { get; init; }

Lists only tasks of this version.

record WorkflowTasksGetResponse

public sealed record WorkflowTasksGetResponse

A page of tasks and the total number that match the filters.

Members

MemberKindSummary
WorkflowTasksGetResponse()constructorCreates an instance of WorkflowTasksGetResponse.
TaskspropertyThe tasks of the requested page.
TotalCountpropertyTotal number of rows matching the filter (pre-pagination).

constructor WorkflowTasksGetResponse() #

public WorkflowTasksGetResponse()

Creates an instance of WorkflowTasksGetResponse.

property Tasks #

public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }

The tasks of the requested page.

property TotalCount #

public int TotalCount { get; init; }

Total number of rows matching the filter (pre-pagination).

record WorkflowTerminateForkStepDeclaration

public sealed record WorkflowTerminateForkStepDeclaration : WorkflowStepDeclaration

Ends the fork whose branch reaches it (a BPMN terminate end event inside a parallel subprocess): tasks still open in the other branches are cancelled, their waits are dropped, and the flow continues after the fork.

Members

MemberKindSummary
WorkflowTerminateForkStepDeclaration()constructorCreates an instance of WorkflowTerminateForkStepDeclaration.

constructor WorkflowTerminateForkStepDeclaration() #

public WorkflowTerminateForkStepDeclaration()

Creates an instance of WorkflowTerminateForkStepDeclaration.

record WorkflowTimelineResource

public sealed record WorkflowTimelineResource

A page of the history events of a workflow execution.

Parameters

  • Disposition: OK, or CURSOR_COMPACTED when the events after the requested sequence were compacted away; the page is then empty.
  • HistoryFloorSequence: The first history sequence still kept.
  • SnapshotSequence: The last history sequence when the page was read.
  • Events: The events.

Members

MemberKindSummary
WorkflowTimelineResource(string, long, long, IReadOnlyList<object>)constructorA page of the history events of a workflow execution.
DispositionpropertyOK, or CURSOR_COMPACTED when the events after the requested sequence were compacted away; the page is then empty.
EventspropertyThe events.
HistoryFloorSequencepropertyThe first history sequence still kept.
SnapshotSequencepropertyThe last history sequence when the page was read.

constructor WorkflowTimelineResource(string, long, long, IReadOnlyList<object>) #

public WorkflowTimelineResource(string Disposition, long HistoryFloorSequence, long SnapshotSequence, IReadOnlyList<object> Events)

A page of the history events of a workflow execution.

Parameters

  • Disposition: OK, or CURSOR_COMPACTED when the events after the requested sequence were compacted away; the page is then empty.
  • HistoryFloorSequence: The first history sequence still kept.
  • SnapshotSequence: The last history sequence when the page was read.
  • Events: The events.

property Disposition #

public string Disposition { get; init; }

OK, or CURSOR_COMPACTED when the events after the requested sequence were compacted away; the page is then empty.

property Events #

public IReadOnlyList<object> Events { get; init; }

The events.

property HistoryFloorSequence #

public long HistoryFloorSequence { get; init; }

The first history sequence still kept.

property SnapshotSequence #

public long SnapshotSequence { get; init; }

The last history sequence when the page was read.

record WorkflowTimerStepDeclaration

public sealed record WorkflowTimerStepDeclaration : WorkflowStepDeclaration

Pauses the instance for a delay; the host process can restart in between ("$type": "timer").

Members

MemberKindSummary
WorkflowTimerStepDeclaration()constructorCreates an instance of WorkflowTimerStepDeclaration.
DelayExpressionpropertyThe delay: a number of milliseconds, a string of digits (also milliseconds), or a time-span string in the invariant c format such as 00:01:00; a negative delay is zero.
StepNamepropertyThe step name, shown in diagrams.

constructor WorkflowTimerStepDeclaration() #

public WorkflowTimerStepDeclaration()

Creates an instance of WorkflowTimerStepDeclaration.

property DelayExpression #

public required WorkflowExpressionDefinition DelayExpression { get; init; }

The delay: a number of milliseconds, a string of digits (also milliseconds), or a time-span string in the invariant c format such as 00:01:00; a negative delay is zero.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams.

record WorkflowTransportAddressDeclaration

public abstract record WorkflowTransportAddressDeclaration

The address of a transport call. The canonical kinds are exactly endpoint, rabbit, graphql and http.

Members

MemberKindSummary
WorkflowTransportAddressDeclaration()constructorCreates an instance of WorkflowTransportAddressDeclaration.
AliaspropertyA name for the address, shown in diagrams.

constructor WorkflowTransportAddressDeclaration() #

protected WorkflowTransportAddressDeclaration()

Creates an instance of WorkflowTransportAddressDeclaration.

property Alias #

public string? Alias { get; init; }

A name for the address, shown in diagrams.

record WorkflowTransportCallStepDeclaration

public sealed record WorkflowTransportCallStepDeclaration : WorkflowStepDeclaration

Calls a service over a transport ("$type": "call-transport").

Members

MemberKindSummary
WorkflowTransportCallStepDeclaration()constructorCreates an instance of WorkflowTransportCallStepDeclaration.
InvocationpropertyThe address and payload of the call.
ResultKeypropertyThe key the response is kept under.
StepNamepropertyThe step name, shown in diagrams and in result.lastFailure.
TimeoutSecondspropertyOptional per-step timeout in seconds.
WhenFailurepropertyThe steps to run when the call fails.
WhenTimeoutpropertyThe steps to run when the call times out.

constructor WorkflowTransportCallStepDeclaration() #

public WorkflowTransportCallStepDeclaration()

Creates an instance of WorkflowTransportCallStepDeclaration.

property Invocation #

public required WorkflowTransportInvocationDeclaration Invocation { get; init; }

The address and payload of the call.

property ResultKey #

public string? ResultKey { get; init; }

The key the response is kept under.

property StepName #

public required string StepName { get; init; }

The step name, shown in diagrams and in result.lastFailure.

property TimeoutSeconds #

public int? TimeoutSeconds { get; init; }

Optional per-step timeout in seconds. Overrides the transport-level default. When null, the default timeout (1 hour) is used.

property WhenFailure #

public WorkflowStepSequenceDeclaration? WhenFailure { get; init; }

The steps to run when the call fails.

property WhenTimeout #

public WorkflowStepSequenceDeclaration? WhenTimeout { get; init; }

The steps to run when the call times out.

record WorkflowTransportInvocationDeclaration

public sealed record WorkflowTransportInvocationDeclaration

The address and payload of a transport call.

Members

MemberKindSummary
WorkflowTransportInvocationDeclaration()constructorCreates an instance of WorkflowTransportInvocationDeclaration.
AddresspropertyThe address.
PayloadExpressionpropertyThe payload; none when not set.

constructor WorkflowTransportInvocationDeclaration() #

public WorkflowTransportInvocationDeclaration()

Creates an instance of WorkflowTransportInvocationDeclaration.

property Address #

public required WorkflowTransportAddressDeclaration Address { get; init; }

The address.

property PayloadExpression #

public WorkflowExpressionDefinition? PayloadExpression { get; init; }

The payload; none when not set.

record WorkflowUnaryExpressionDefinition

public sealed record WorkflowUnaryExpressionDefinition : WorkflowExpressionDefinition

A unary operation ("$type": "unary").

Members

MemberKindSummary
WorkflowUnaryExpressionDefinition()constructorCreates an instance of WorkflowUnaryExpressionDefinition.
OperandpropertyThe operand.
OperatorpropertyThe operator: not, the only unary operator; names are case-sensitive.

constructor WorkflowUnaryExpressionDefinition() #

public WorkflowUnaryExpressionDefinition()

Creates an instance of WorkflowUnaryExpressionDefinition.

property Operand #

public required WorkflowExpressionDefinition Operand { get; init; }

The operand.

property Operator #

public required string Operator { get; init; }

The operator: not, the only unary operator; names are case-sensitive.

record WorkflowWorkflowInvocationDeclaration

public sealed record WorkflowWorkflowInvocationDeclaration

Which workflow a step starts, with what payload and business reference.

Members

MemberKindSummary
WorkflowWorkflowInvocationDeclaration()constructorCreates an instance of WorkflowWorkflowInvocationDeclaration.
BusinessReferencepropertyThe business reference of the new instance; none when not set.
PayloadExpressionpropertyThe start payload; none when not set.
WorkflowNameExpressionpropertyThe workflow to run.
WorkflowVersionExpressionpropertyIts version; the latest when not set.

constructor WorkflowWorkflowInvocationDeclaration() #

public WorkflowWorkflowInvocationDeclaration()

Creates an instance of WorkflowWorkflowInvocationDeclaration.

property BusinessReference #

public WorkflowBusinessReferenceDeclaration? BusinessReference { get; init; }

The business reference of the new instance; none when not set.

property PayloadExpression #

public WorkflowExpressionDefinition? PayloadExpression { get; init; }

The start payload; none when not set.

property WorkflowNameExpression #

public required WorkflowExpressionDefinition WorkflowNameExpression { get; init; }

The workflow to run.

property WorkflowVersionExpression #

public WorkflowExpressionDefinition? WorkflowVersionExpression { get; init; }

Its version; the latest when not set.

namespace StellaOps.Workflow.Contracts.Constants

TypeKindDescription
ConstantsClassclassThe string values of the map, retention, outbox and retry settings and states.
ConstantsClass.DurableOutboxStatesclassDelivery state of a durable outbox message: appended READY, marked PUBLISHED once sent.
ConstantsClass.MapItemStatesclassThe states of a map item.
ConstantsClass.MapPoliciesclassThe fan-in and failure policies of a map step.
ConstantsClass.MapStatesclassThe states of a map execution.
ConstantsClass.RetentionPoliciesclassPer-instance retention: STANDARD follows the stale/purge schedule; HOLD_ALL keeps history and rows.
ConstantsClass.RetryBackoffKindsclassHow the delay between retries grows.

class ConstantsClass

public static class ConstantsClass

The string values of the map, retention, outbox and retry settings and states.

class ConstantsClass.DurableOutboxStates

public static class DurableOutboxStates

Delivery state of a durable outbox message: appended READY, marked PUBLISHED once sent.

Members

MemberKindSummary
PublishedconstantSent.
ReadyconstantAppended, not yet sent.

constant Published #

public const string Published = "PUBLISHED"

Sent.

constant Ready #

public const string Ready = "READY"

Appended, not yet sent.

class ConstantsClass.MapItemStates

public static class MapItemStates

The states of a map item.

Members

MemberKindSummary
ClaimedconstantClaimed by a worker and running.
FailedconstantFailed.
PartialconstantCompleted partially; counts as succeeded for the fan-in.
ReadyconstantNot started.
SkippedconstantNot started before the map stopped; counts as succeeded for the fan-in.
SucceededconstantSucceeded.

constant Claimed #

public const string Claimed = "CLAIMED"

Claimed by a worker and running.

constant Failed #

public const string Failed = "FAILED"

Failed.

constant Partial #

public const string Partial = "PARTIAL"

Completed partially; counts as succeeded for the fan-in.

constant Ready #

public const string Ready = "READY"

Not started.

constant Skipped #

public const string Skipped = "SKIPPED"

Not started before the map stopped; counts as succeeded for the fan-in.

constant Succeeded #

public const string Succeeded = "SUCCEEDED"

Succeeded.

class ConstantsClass.MapPolicies

public static class MapPolicies

The fan-in and failure policies of a map step.

Members

MemberKindSummary
AllSucceededconstantFan-in: the map completes when every item succeeded.
CollectAllconstantFan-in: the map completes when every item finished, whatever the outcome.
CollectPartialconstantFailure: the map waits for every item, then applies its fan-in policy.
FailFastconstantFailure: the first failed item fails the map.
MinimumSucceededconstantFan-in: the map completes when at least the minimum number of items succeeded.
RouteManualconstantFailure: when every item finished and one failed, the map waits for manual handling (ConstantsClass.MapStates.Manual).

constant AllSucceeded #

public const string AllSucceeded = "ALL_SUCCEEDED"

Fan-in: the map completes when every item succeeded.

constant CollectAll #

public const string CollectAll = "COLLECT_ALL"

Fan-in: the map completes when every item finished, whatever the outcome.

constant CollectPartial #

public const string CollectPartial = "COLLECT_PARTIAL"

Failure: the map waits for every item, then applies its fan-in policy.

constant FailFast #

public const string FailFast = "FAIL_FAST"

Failure: the first failed item fails the map.

constant MinimumSucceeded #

public const string MinimumSucceeded = "MIN_SUCCEEDED"

Fan-in: the map completes when at least the minimum number of items succeeded.

constant RouteManual #

public const string RouteManual = "ROUTE_MANUAL"

Failure: when every item finished and one failed, the map waits for manual handling (ConstantsClass.MapStates.Manual).

class ConstantsClass.MapStates

public static class MapStates

The states of a map execution.

Members

MemberKindSummary
CanceledconstantThe map was canceled.
CompletedconstantThe map completed.
FailedconstantThe map failed.
ManualconstantThe map waits for manual handling of its failed items.
ReadyconstantCreated; no item has started.
RunningconstantItems are running.

constant Canceled #

public const string Canceled = "CANCELED"

The map was canceled.

constant Completed #

public const string Completed = "COMPLETED"

The map completed.

constant Failed #

public const string Failed = "FAILED"

The map failed.

constant Manual #

public const string Manual = "MANUAL"

The map waits for manual handling of its failed items.

constant Ready #

public const string Ready = "READY"

Created; no item has started.

constant Running #

public const string Running = "RUNNING"

Items are running.

class ConstantsClass.RetentionPolicies

public static class RetentionPolicies

Per-instance retention: STANDARD follows the stale/purge schedule; HOLD_ALL keeps history and rows.

Members

MemberKindSummary
HoldAllconstantKeeps the history and rows.
StandardconstantFollows the stale and purge schedule.

constant HoldAll #

public const string HoldAll = "HOLD_ALL"

Keeps the history and rows.

constant Standard #

public const string Standard = "STANDARD"

Follows the stale and purge schedule.

class ConstantsClass.RetryBackoffKinds

public static class RetryBackoffKinds

How the delay between retries grows. Every kind is capped by the maximum delay, when one is set, and varied by the jitter.

Members

MemberKindSummary
ExponentialconstantThe delay starts at the initial delay and doubles with each retry.
FixedconstantEvery retry waits the initial delay.
ProviderHintconstantThe delay the provider asks for, such as a retry-after value, capped by the provider-hint bound; the initial delay when the provider gives none.

constant Exponential #

public const string Exponential = "EXPONENTIAL"

The delay starts at the initial delay and doubles with each retry.

constant Fixed #

public const string Fixed = "FIXED"

Every retry waits the initial delay.

constant ProviderHint #

public const string ProviderHint = "PROVIDER_HINT"

The delay the provider asks for, such as a retry-after value, capped by the provider-hint bound; the initial delay when the provider gives none.