StellaOps.Workflow.Contracts
Workflow contracts: the definition, request and response types shared by workflow definitions, hosts and clients. Install Installing Stella Ops packagesWorkflow downloads and signaturesnet10.01.0.1-20261118T121708Zdotnet add package StellaOps.
Namespaces
| Namespace | Types |
|---|---|
StellaOps. | 162 |
StellaOps. | 7 |
namespace StellaOps.Workflow.Contracts
| Type | Kind | Description |
|---|---|---|
StartWorkflowDeduplication | enum | How a start treats an instance of the same workflow that is already open. |
StartWorkflowRequest | record | Starts an instance of a registered workflow (POST /api/workflow/start). |
StartWorkflowResponse | record | The result of a start: the instance, the tasks it opened and its state. |
WorkflowActivateTaskStepDeclaration | record | Opens a declared human task; the instance waits until a user completes it ("$type": "activate-task"). |
WorkflowArrayExpressionDefinition | record | An array of expressions ("$type": "array"). |
WorkflowAssignBusinessReferenceStepDeclaration | record | Sets the business reference of the instance ("$type": "assign-business-reference"). |
WorkflowBinaryExpressionDefinition | record | A binary operation ("$type": "binary"). |
WorkflowBooleanExpressionDefinition | record | A Boolean literal ("$type": "boolean"). |
WorkflowBusinessReference | record | The business reference of a workflow instance: a key and its named parts, by which instances and tasks are found. |
WorkflowBusinessReferenceDeclaration | record | How a business reference is computed. |
WorkflowCancelRequest | record | Cancels an instance: raises an external signal for it, after starting a cleanup workflow when one is named and the cleanup policy allows it. |
WorkflowCancelResponse | record | The answer to a cancel request. |
WorkflowCanonicalDefinition | record | A canonical workflow definition: the portable, JSON form of a workflow that the engine imports, validates and runs. |
WorkflowCanonicalDefinitionSchema | class | The schema versions of canonical workflow definitions. |
WorkflowCanonicalIssueDto | record | A finding of the canonical definition validation. |
WorkflowCanonicalJsonSerializer | class | Reads and writes canonical definitions as JSON, byte-identical across platforms. |
WorkflowCanonicalSchemaGetResponse | record | The JSON schema of canonical workflow definitions. |
WorkflowCanonicalValidateRequest | record | Validates a canonical definition without importing it. |
WorkflowCanonicalValidateResponse | record | The outcome of a canonical definition validation. |
WorkflowCanonicalValidationIssue | record | A finding of the canonical definition validation. |
WorkflowCompleteStepDeclaration | record | Completes the instance ("$type": "complete"). |
WorkflowContinueWithWorkflowStepDeclaration | record | Starts another workflow as an independent instance and continues at once; its result is not returned ("$type": "continue-with-workflow"). |
WorkflowDecisionStepDeclaration | record | Branches on a condition ("$type": "decision"). |
WorkflowDefinitionActivateRequest | record | Makes a stored version the active version of its workflow. |
WorkflowDefinitionActivateResponse | record | The answer to an activation. |
WorkflowDefinitionByIdRequest | record | Reads one workflow definition: a code-registered workflow first, the definition store otherwise. |
WorkflowDefinitionByIdResponse | record | One workflow definition. |
WorkflowDefinitionDescriptor | record | A workflow definition: its name, version, roles and human tasks. |
WorkflowDefinitionExportMultiRequest | record | Exports a definition in a source format. |
WorkflowDefinitionExportMultiResponse | record | A definition exported in a source format. |
WorkflowDefinitionExportRequest | record | Exports a stored workflow definition. |
WorkflowDefinitionExportResponse | record | An exported workflow definition. |
WorkflowDefinitionGetRequest | record | Lists workflow definitions. |
WorkflowDefinitionGetResponse | record | A page of workflow definitions. |
WorkflowDefinitionImportMultiRequest | record | Imports a definition from a source format: it is converted to the canonical definition, then imported. |
WorkflowDefinitionImportMultiResponse | record | The answer to an import from a source format. |
WorkflowDefinitionImportRequest | record | Imports a canonical definition as a new version, which stays inactive until it is activated. |
WorkflowDefinitionImportResponse | record | The answer to a definition import. |
WorkflowDefinitionVersionSummary | record | One stored version of a workflow definition. |
WorkflowDefinitionVersionsGetRequest | record | Lists the stored versions of a workflow. |
WorkflowDefinitionVersionsGetResponse | record | The stored versions of a workflow. |
WorkflowDesignatedWorkflow | record | A workflow in the first-seen ledger, as first seen. |
WorkflowDesignatedWorkflowsGetResponse | record | 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. |
WorkflowDiagramEdge | record | A routed edge of a workflow diagram. |
WorkflowDiagramEdgeSection | record | A routed section of a diagram edge. |
WorkflowDiagramGetRequest | record | Lays out the diagram of a workflow definition, optionally with the progress of an instance. |
WorkflowDiagramGetResponse | record | A laid-out workflow diagram. |
WorkflowDiagramNode | record | A positioned node of a workflow diagram, with its progress when the diagram shows an instance. |
WorkflowDiagramPoint | record | A point of a diagram edge. |
WorkflowEndpointAddressDeclaration | record | 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.with WorkflowEndpointAddressDeclaration.. |
WorkflowEndpointRequest | record | A call of an HTTP endpoint of a named service; the host’s endpoint transport delivers it. |
WorkflowEndpointResponse | record | The answer of an endpoint transport. |
WorkflowExecutionGraph | record | The scopes and steps of a workflow execution as a graph. |
WorkflowExecutionGraphEdge | record | An edge of an execution graph. |
WorkflowExecutionGraphNode | record | A node of an execution graph: a scope or a step. |
WorkflowExecutionListItem | record | One workflow execution of the console list. |
WorkflowExecutionListRequest | record | Lists workflow executions for the execution console, newest first. |
WorkflowExecutionListResponse | record | A page of workflow executions. |
WorkflowExecutionResourceRequest | record | Reads one resource of a workflow execution for the execution console. |
WorkflowExecutionResourceResponse | record | One resource of a workflow execution. |
WorkflowExecutionSnapshot | record | A task with the state of its workflow instance. |
WorkflowExecutionSvg | record | The execution graph drawn as SVG. |
WorkflowExpressionDefinition | record | An expression of a canonical definition. |
WorkflowExternalActivityStepDeclaration | record | Dispatches durable work through a deployment-owned, signed adapter registry. |
WorkflowExternalSignalStepDeclaration | record | Pauses the instance until a caller raises the signal for it ("$type": "external-signal"). |
WorkflowForkStepDeclaration | record | Runs its branches concurrently and continues when the last one has finished ("$type": "fork"). |
WorkflowFunctionArgumentDescriptor | record | An argument of an expression function. |
WorkflowFunctionCatalogGetResponse | record | The expression functions the engine provides. |
WorkflowFunctionDescriptor | record | An expression function of the function catalog. |
WorkflowFunctionExample | record | An example call of an expression function. |
WorkflowFunctionExpressionDefinition | record | A call of a function of the function catalog ("$type": "function"). |
WorkflowFunctionReturnDescriptor | record | The return value of an expression function. |
WorkflowGraphqlAddressDeclaration | record | A GraphQL query against a named target ("$type": "graphql"). |
WorkflowGraphqlRequest | record | A GraphQL query; the host’s GraphQL transport delivers it. |
WorkflowGraphqlResponse | record | The answer of the GraphQL transport. |
WorkflowGroupExpressionDefinition | record | A parenthesized expression ("$type": "group"). |
WorkflowHttpAddressDeclaration | record | A call of a named HTTP target ("$type": "http"). |
WorkflowHttpRequest | record | A call of a named HTTP target; the host’s HTTP transport delivers it. |
WorkflowHttpResponse | record | The answer of the HTTP transport. |
WorkflowInstanceGetRequest | record | Looks up one instance (GET /api/workflow/instances/{id}). |
WorkflowInstanceGetResponse | record | One instance with its state, tasks, task events and runtime state. |
WorkflowInstanceProjectionDetails | record | A workflow instance with its state, tasks and task events. |
WorkflowInstanceSummary | record | A workflow instance in a list or a lookup. |
WorkflowInstancesGetRequest | record | The filters, paging and sort of an instance list (GET /api/workflow/instances). |
WorkflowInstancesGetResponse | record | A page of instances and the total number that match the filters. |
WorkflowLicenceNotice | record | 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. |
WorkflowLicenceStatus | record | The licence status of one licence evaluation: the status name, its factual message and the licence-status explanation that accompanies the messages. |
WorkflowMapStepDeclaration | record | Runs its body once per item of a collection, with bounded concurrency and a deterministic fan-in ("$type": "map"). |
WorkflowModuleInfo | record | A function module installed in the engine. |
WorkflowNamedExpressionDefinition | record | A named expression: an object property or a business reference part. |
WorkflowNullExpressionDefinition | record | The null value ("$type": "null"). |
WorkflowNumberExpressionDefinition | record | A number literal ("$type": "number"); arithmetic is decimal. |
WorkflowObjectExpressionDefinition | record | An object built from named expressions ("$type": "object"). |
WorkflowOpenBusinessKeySlot | class | Rules of the open-business-key slot (StartWorkflowDeduplication.). |
WorkflowPathExpressionDefinition | record | Reads a value by path ("$type": "path"). |
WorkflowRabbitAddressDeclaration | record | A RabbitMQ exchange and routing key ("$type": "rabbit"). |
WorkflowRabbitCommandDeclaration | record | 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. |
WorkflowRabbitCommandFraming | enum | How a command-style rabbit message carries the command name and the payload. |
WorkflowRabbitRequest | record | A RabbitMQ call; the host’s RabbitMQ transport delivers it. |
WorkflowRabbitResponse | record | The answer of the RabbitMQ transport. |
WorkflowRenderEdgeView | record | An edge of a definition diagram. |
WorkflowRenderGraphGetRequest | record | Reads the render graph of a definition, for drawing it on the client. |
WorkflowRenderGraphGetResponse | record | The render graph of a definition. |
WorkflowRenderGraphView | record | The nodes and edges of a definition diagram. |
WorkflowRenderNodeView | record | A node of a definition diagram. |
WorkflowRenderPortView | record | A port of a diagram node. |
WorkflowRenderingRequest | record | Reads the stored rendering of a definition in one format. |
WorkflowRenderingResponse | record | The stored rendering of a definition in one format. |
WorkflowRepeatStepDeclaration | record | Runs its body while a condition holds, at most a number of times ("$type": "repeat"). |
WorkflowRequestContractDeclaration | record | The contract of a workflow start request. |
WorkflowRequiredModuleDeclaration | record | A function module a workflow needs. |
WorkflowRetentionRunRequest | record | Runs the instance retention once: marks stale instances and tasks, and purges those past their purge date. |
WorkflowRetentionRunResponse | record | The counts of a retention run. |
WorkflowRetryPolicyDeclaration | record | How failed map items are retried. |
WorkflowRuntimeStateSummary | record | The state a runtime provider keeps for an instance. |
WorkflowServiceMetadata | record | What a workflow service offers to tools. |
WorkflowServiceMetadataGetResponse | record | The metadata of the workflow service. |
WorkflowSetStateStepDeclaration | record | Sets a state value ("$type": "set-state"). |
WorkflowSignalDeadLetterMessage | record | A dead-lettered signal. |
WorkflowSignalDeadLetterReplayRequest | record | Puts a dead-lettered signal back on the signal queue. |
WorkflowSignalDeadLetterReplayResponse | record | The outcome of a dead letter replay. |
WorkflowSignalDeadLettersGetRequest | record | Lists the dead-lettered signals. |
WorkflowSignalDeadLettersGetResponse | record | A page of dead-lettered signals. |
WorkflowSignalPumpLastEvent | record | One signal pump event. |
WorkflowSignalPumpStats | record | The counts of the signal pump of this process since it started. |
WorkflowSignalPumpStatsGetResponse | record | The signal pump counts of this process. |
WorkflowSignalPumpStatsSignalType | record | The signal pump counts of one signal type. |
WorkflowSignalRaiseRequest | record | Raises a signal for a waiting instance (POST /api/workflow/signals/raise). |
WorkflowSignalRaiseResponse | record | The answer to a raised signal. |
WorkflowSortModel | record | Server-side sort request for list endpoints. |
WorkflowSourceFormatDiagnosticDto | record | A finding of a source format conversion. |
WorkflowStartDeclaration | record | What happens when a workflow instance starts. |
WorkflowStepDeclaration | record | A step of a canonical definition. |
WorkflowStepSequenceDeclaration | record | A sequence of steps. |
WorkflowStringExpressionDefinition | record | A string literal ("$type": "string"). |
WorkflowSubWorkflowStepDeclaration | record | Runs another workflow as a child and waits for it ("$type": "sub-workflow"). |
WorkflowSupportedFormatDescriptor | record | A source format of workflow definitions. |
WorkflowSupportedFormatsGetRequest | record | Lists the source formats the server converts. |
WorkflowSupportedFormatsGetResponse | record | The source formats the server converts. |
WorkflowTaskAssignRequest | record | Assigns a task to a user or to roles (POST /api/workflow/tasks/{id}/assign). |
WorkflowTaskAssignResponse | record | The result of a task assignment. |
WorkflowTaskCompleteRequest | record | Completes a task as the acting user (POST /api/workflow/tasks/{id}/complete). |
WorkflowTaskCompleteResponse | record | The result of a task completion. |
WorkflowTaskDeclaration | record | A human task a workflow declares, which an activate-task step opens. |
WorkflowTaskDescriptor | record | A human task a workflow definition declares. |
WorkflowTaskEventSummary | record | One event in the history of a task, for example its assignment or completion. |
WorkflowTaskGetRequest | record | Looks up one task (GET /api/workflow/tasks/{id}). |
WorkflowTaskGetResponse | record | One task. |
WorkflowTaskReleaseRequest | record | Releases an assigned task (POST /api/workflow/tasks/{id}/release). |
WorkflowTaskReleaseResponse | record | The result of a task release. |
WorkflowTaskSingleOpenSlot | class | Rules of the single-open task slot (WorkflowTaskDeclaration.). |
WorkflowTaskSummary | record | A human task in a list, a lookup or the result of a start or a completion. |
WorkflowTasksGetRequest | record | The filters, paging and sort of a task list (GET /api/workflow/tasks). |
WorkflowTasksGetResponse | record | A page of tasks and the total number that match the filters. |
WorkflowTerminateForkStepDeclaration | record | 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. |
WorkflowTimelineResource | record | A page of the history events of a workflow execution. |
WorkflowTimerStepDeclaration | record | Pauses the instance for a delay; the host process can restart in between ("$type": "timer"). |
WorkflowTransportAddressDeclaration | record | The address of a transport call. |
WorkflowTransportCallStepDeclaration | record | Calls a service over a transport ("$type": "call-transport"). |
WorkflowTransportInvocationDeclaration | record | The address and payload of a transport call. |
WorkflowUnaryExpressionDefinition | record | A unary operation ("$type": "unary"). |
WorkflowWorkflowInvocationDeclaration | record | Which 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.
record StartWorkflowRequest
public sealed record StartWorkflowRequest
Starts an instance of a registered workflow (POST /api/workflow/start).
Members
| Member | Kind | Summary |
|---|---|---|
StartWorkflowRequest( | constructor | Creates an instance of StartWorkflowRequest. |
BusinessReference | property | The business reference of the new instance; overrides the business key of the start request. |
Deduplication | property | Whether a start may reuse an open instance instead of creating one. |
Payload | property | The start request, bound to the workflow’s start request type. |
WorkflowName | property | The registered workflow to start. |
WorkflowVersion | property | A registered version; the latest registered version when not set. |
constructor StartWorkflowRequest() #
StartWorkflowRequest() #public StartWorkflowRequest()
Creates an instance of StartWorkflowRequest.
property BusinessReference #
BusinessReference #public WorkflowBusinessReference? BusinessReference { get; init; }
The business reference of the new instance; overrides the business key of the start request.
property Deduplication #
Deduplication #public StartWorkflowDeduplication Deduplication { get; init; }
Whether a start may reuse an open instance instead of creating one. Omitted from JSON when StartWorkflowDeduplication., so requests without it serialize as before.
property Payload #
Payload #public IDictionary<string, object?> Payload { get; init; }
The start request, bound to the workflow’s start request type.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The registered workflow to start.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
StartWorkflowResponse( | constructor | Creates an instance of Start. |
BusinessReference | property | The business reference of the instance: its key and parts. |
Deduplicated | property | True when the start returned an instance that was already open (StartWorkflowDeduplication.); omitted from JSON when false. |
NextTasks | property | The tasks the start opened. |
WorkflowInstanceId | property | The identifier of the started instance, or of the open instance a deduplicated start returned. |
WorkflowName | property | The workflow name. |
WorkflowState | property | The workflow state after the operation. |
WorkflowVersion | property | The workflow version the instance runs. |
constructor StartWorkflowResponse() #
StartWorkflowResponse() #public StartWorkflowResponse()
Creates an instance of Start.
property BusinessReference #
BusinessReference #public WorkflowBusinessReference? BusinessReference { get; init; }
The business reference of the instance: its key and parts.
property Deduplicated #
Deduplicated #public bool Deduplicated { get; init; }
True when the start returned an instance that was already open (StartWorkflowDeduplication.); omitted from JSON when false.
property NextTasks #
NextTasks #public IReadOnlyCollection<WorkflowTaskSummary> NextTasks { get; init; }
The tasks the start opened.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The identifier of the started instance, or of the open instance a deduplicated start returned.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowState #
WorkflowState #public IDictionary<string, object?> WorkflowState { get; init; }
The workflow state after the operation.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowActivateTaskStepDeclaration( | constructor | Creates an instance of Workflow. |
RuntimeRolesExpression | property | 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. |
TaskName | property | The declared task to open. |
TimeoutSeconds | property | Optional timeout for the human task in seconds. |
constructor WorkflowActivateTaskStepDeclaration() #
WorkflowActivateTaskStepDeclaration() #public WorkflowActivateTaskStepDeclaration()
Creates an instance of Workflow.
property RuntimeRolesExpression #
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 #
TaskName #public required string TaskName { get; init; }
The declared task to open.
property TimeoutSeconds #
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 Created.
record WorkflowArrayExpressionDefinition
public sealed record WorkflowArrayExpressionDefinition : WorkflowExpressionDefinition
An array of expressions ("$type": "array").
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowArrayExpressionDefinition( | constructor | Creates an instance of Workflow. |
Items | property | The items. |
constructor WorkflowArrayExpressionDefinition() #
WorkflowArrayExpressionDefinition() #public WorkflowArrayExpressionDefinition()
Creates an instance of Workflow.
property Items #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowAssignBusinessReferenceStepDeclaration( | constructor | Creates an instance of Workflow. |
BusinessReference | property | The new business reference. |
constructor WorkflowAssignBusinessReferenceStepDeclaration() #
WorkflowAssignBusinessReferenceStepDeclaration() #public WorkflowAssignBusinessReferenceStepDeclaration()
Creates an instance of Workflow.
property BusinessReference #
BusinessReference #public required WorkflowBusinessReferenceDeclaration BusinessReference { get; init; }
The new business reference.
record WorkflowBinaryExpressionDefinition
public sealed record WorkflowBinaryExpressionDefinition : WorkflowExpressionDefinition
A binary operation ("$type": "binary").
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowBinaryExpressionDefinition( | constructor | Creates an instance of Workflow. |
Left | property | The left operand. |
Operator | property | The operator: eq, ne, and, or, gt, gte, lt, lte, add, subtract, multiply or divide, case-sensitive. |
Right | property | The right operand. |
constructor WorkflowBinaryExpressionDefinition() #
WorkflowBinaryExpressionDefinition() #public WorkflowBinaryExpressionDefinition()
Creates an instance of Workflow.
property Left #
Left #public required WorkflowExpressionDefinition Left { get; init; }
The left operand.
property Operator #
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 #
Right #public required WorkflowExpressionDefinition Right { get; init; }
The right operand.
record WorkflowBooleanExpressionDefinition
public sealed record WorkflowBooleanExpressionDefinition : WorkflowExpressionDefinition
A Boolean literal ("$type": "boolean").
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowBooleanExpressionDefinition( | constructor | Creates an instance of Workflow. |
Value | property | The value. |
constructor WorkflowBooleanExpressionDefinition() #
WorkflowBooleanExpressionDefinition() #public WorkflowBooleanExpressionDefinition()
Creates an instance of Workflow.
property Value #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowBusinessReference( | constructor | Creates an instance of Workflow. |
Key | property | The reference key. |
Parts | property | The named parts of the reference; names compare ignoring case. |
constructor WorkflowBusinessReference() #
WorkflowBusinessReference() #public WorkflowBusinessReference()
Creates an instance of Workflow.
property Key #
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 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowBusinessReferenceDeclaration( | constructor | Creates an instance of Workflow. |
KeyExpression | property | The key; built from the parts when not set. |
Parts | property | The named parts. |
constructor WorkflowBusinessReferenceDeclaration() #
WorkflowBusinessReferenceDeclaration() #public WorkflowBusinessReferenceDeclaration()
Creates an instance of Workflow.
property KeyExpression #
KeyExpression #public WorkflowExpressionDefinition? KeyExpression { get; init; }
The key; built from the parts when not set.
property Parts #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCancelRequest( | constructor | Creates an instance of Workflow. |
CleanupPayload | property | The start payload of the cleanup workflow. |
CleanupWorkflowName | property | The workflow to start for the cleanup, when the cleanup policy allows it; none when not set. |
SignalName | property | The external signal the cancellation raises for the instance. |
WorkflowInstanceId | property | The instance to cancel. |
constructor WorkflowCancelRequest() #
WorkflowCancelRequest() #public WorkflowCancelRequest()
Creates an instance of Workflow.
property CleanupPayload #
CleanupPayload #public IDictionary<string, object?> CleanupPayload { get; init; }
The start payload of the cleanup workflow.
property CleanupWorkflowName #
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 #
SignalName #public string SignalName { get; init; }
The external signal the cancellation raises for the instance. The default is cancel.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The instance to cancel.
record WorkflowCancelResponse
public sealed record WorkflowCancelResponse
The answer to a cancel request.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowCancelResponse( | constructor | Creates an instance of Workflow. |
Cancelled | property | Whether the cancel signal was queued; false when the instance does not exist or is completed. |
CleanupStarted | property | Whether the cleanup workflow started. |
CleanupWorkflowInstanceId | property | The cleanup workflow instance, when it started. |
SignalId | property | The cancel signal. |
WorkflowInstanceId | property | The instance. |
constructor WorkflowCancelResponse() #
WorkflowCancelResponse() #public WorkflowCancelResponse()
Creates an instance of Workflow.
property Cancelled #
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 #
CleanupStarted #public bool CleanupStarted { get; init; }
Whether the cleanup workflow started.
property CleanupWorkflowInstanceId #
CleanupWorkflowInstanceId #public string? CleanupWorkflowInstanceId { get; init; }
The cleanup workflow instance, when it started.
property SignalId #
SignalId #public string? SignalId { get; init; }
The cancel signal.
property WorkflowInstanceId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalDefinition( | constructor | Creates an instance of Workflow. |
BusinessReference | property | How the business reference of an instance is computed at start. |
DisplayName | property | The display name. |
RequiredCapabilities | property | The capabilities the workflow declares it needs; none may be empty. |
RequiredModules | property | The function modules the workflow needs. |
SchemaVersion | property | The schema version; WorkflowCanonicalDefinitionSchema.by default. |
Start | property | What happens when an instance starts. |
StartRequest | property | The contract of the start request. |
Tasks | property | The human tasks the workflow declares. |
WorkflowName | property | The workflow name. |
WorkflowRoles | property | The roles of the workflow, which tasks use unless they declare their own. |
WorkflowVersion | property | The workflow version. |
constructor WorkflowCanonicalDefinition() #
WorkflowCanonicalDefinition() #public WorkflowCanonicalDefinition()
Creates an instance of Workflow.
property BusinessReference #
BusinessReference #public WorkflowBusinessReferenceDeclaration? BusinessReference { get; init; }
How the business reference of an instance is computed at start.
property DisplayName #
DisplayName #public required string DisplayName { get; init; }
The display name.
property RequiredCapabilities #
RequiredCapabilities #public IReadOnlyCollection<string> RequiredCapabilities { get; init; }
The capabilities the workflow declares it needs; none may be empty.
property RequiredModules #
RequiredModules #public IReadOnlyCollection<WorkflowRequiredModuleDeclaration> RequiredModules { get; init; }
The function modules the workflow needs.
property SchemaVersion #
SchemaVersion #public string SchemaVersion { get; init; }
The schema version; WorkflowCanonicalDefinitionSchema.by default.
property Start #
Start #public required WorkflowStartDeclaration Start { get; init; }
What happens when an instance starts.
property StartRequest #
StartRequest #public WorkflowRequestContractDeclaration? StartRequest { get; init; }
The contract of the start request.
property Tasks #
Tasks #public IReadOnlyCollection<WorkflowTaskDeclaration> Tasks { get; init; }
The human tasks the workflow declares.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowRoles #
WorkflowRoles #public IReadOnlyCollection<string> WorkflowRoles { get; init; }
The roles of the workflow, which tasks use unless they declare their own.
property WorkflowVersion #
WorkflowVersion #public required string WorkflowVersion { get; init; }
The workflow version.
class WorkflowCanonicalDefinitionSchema
public static class WorkflowCanonicalDefinitionSchema
The schema versions of canonical workflow definitions.
Members
| Member | Kind | Summary |
|---|---|---|
Version1 | constant | The first schema version of canonical definitions. |
constant Version1 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalIssueDto( | constructor | Creates an instance of Workflow. |
Code | property | The issue code. |
Message | property | The message. |
Path | property | The path of the definition element. |
Severity | property | The severity, such as Error. |
constructor WorkflowCanonicalIssueDto() #
WorkflowCanonicalIssueDto() #public WorkflowCanonicalIssueDto()
Creates an instance of Workflow.
property Code #
Code #public required string Code { get; init; }
The issue code.
property Message #
Message #public required string Message { get; init; }
The message.
property Path #
Path #public required string Path { get; init; }
The path of the definition element.
property Severity #
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
| Member | Kind | Summary |
|---|---|---|
Options | property | The serializer options of canonical JSON: camel case, nulls omitted, indented, LF line ends. |
Deserialize( | method | Reads a definition from canonical JSON. |
DeserializeFragment< | method | Reads a part of a definition from canonical JSON. |
Serialize( | method | Writes a definition as canonical JSON. |
SerializeFragment< | method | Writes a part of a definition as canonical JSON. |
property Options #
Options #public static JsonSerializerOptions Options { get; }
The serializer options of canonical JSON: camel case, nulls omitted, indented, LF line ends.
method Deserialize(string) #
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) #
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) #
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) #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalSchemaGetResponse( | constructor | Creates an instance of Workflow. |
SchemaJson | property | The JSON schema of canonical definitions. |
SchemaVersion | property | The schema version. |
constructor WorkflowCanonicalSchemaGetResponse() #
WorkflowCanonicalSchemaGetResponse() #public WorkflowCanonicalSchemaGetResponse()
Creates an instance of Workflow.
property SchemaJson #
SchemaJson #public required string SchemaJson { get; init; }
The JSON schema of canonical definitions.
property SchemaVersion #
SchemaVersion #public required string SchemaVersion { get; init; }
The schema version.
record WorkflowCanonicalValidateRequest
public sealed record WorkflowCanonicalValidateRequest
Validates a canonical definition without importing it.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalValidateRequest( | constructor | Creates an instance of Workflow. |
CanonicalDefinitionJson | property | The canonical definition, as JSON. |
constructor WorkflowCanonicalValidateRequest() #
WorkflowCanonicalValidateRequest() #public WorkflowCanonicalValidateRequest()
Creates an instance of Workflow.
property CanonicalDefinitionJson #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalValidateResponse( | constructor | Creates an instance of Workflow. |
InstalledModules | property | The function modules installed in the engine. |
IsValid | property | Whether the definition has no issue. |
ModuleIssues | property | The findings about the modules the definition requires, checked against the installed ones. |
SchemaIssues | property | The JSON schema findings. |
SemanticIssues | property | The semantic findings. |
WorkflowName | property | The workflow name, when it could be read. |
WorkflowVersion | property | The workflow version, when it could be read. |
constructor WorkflowCanonicalValidateResponse() #
WorkflowCanonicalValidateResponse() #public WorkflowCanonicalValidateResponse()
Creates an instance of Workflow.
property InstalledModules #
InstalledModules #public IReadOnlyCollection<WorkflowModuleInfo> InstalledModules { get; init; }
The function modules installed in the engine.
property IsValid #
IsValid #public required bool IsValid { get; init; }
Whether the definition has no issue.
property ModuleIssues #
ModuleIssues #public IReadOnlyCollection<WorkflowCanonicalValidationIssue> ModuleIssues { get; init; }
The findings about the modules the definition requires, checked against the installed ones.
property SchemaIssues #
SchemaIssues #public IReadOnlyCollection<WorkflowCanonicalValidationIssue> SchemaIssues { get; init; }
The JSON schema findings.
property SemanticIssues #
SemanticIssues #public IReadOnlyCollection<WorkflowCanonicalValidationIssue> SemanticIssues { get; init; }
The semantic findings.
property WorkflowName #
WorkflowName #public string? WorkflowName { get; init; }
The workflow name, when it could be read.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCanonicalValidationIssue( | constructor | Creates an instance of Workflow. |
Code | property | The issue code. |
Message | property | The message. |
Path | property | The path of the definition element. |
constructor WorkflowCanonicalValidationIssue() #
WorkflowCanonicalValidationIssue() #public WorkflowCanonicalValidationIssue()
Creates an instance of Workflow.
property Code #
Code #public required string Code { get; init; }
The issue code.
property Message #
Message #public required string Message { get; init; }
The message.
property Path #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowCompleteStepDeclaration( | constructor | Creates an instance of Workflow. |
constructor WorkflowCompleteStepDeclaration() #
WorkflowCompleteStepDeclaration() #public WorkflowCompleteStepDeclaration()
Creates an instance of Workflow.
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
| Member | Kind | Summary |
|---|---|---|
WorkflowContinueWithWorkflowStepDeclaration( | constructor | Creates an instance of Workflow. |
Invocation | property | The workflow to start. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowContinueWithWorkflowStepDeclaration() #
WorkflowContinueWithWorkflowStepDeclaration() #public WorkflowContinueWithWorkflowStepDeclaration()
Creates an instance of Workflow.
property Invocation #
Invocation #public required WorkflowWorkflowInvocationDeclaration Invocation { get; init; }
The workflow to start.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDecisionStepDeclaration( | constructor | Creates an instance of Workflow. |
ConditionExpression | property | The condition. |
DecisionName | property | The label of the decision in diagrams. |
WhenElse | property | The steps to run otherwise. |
WhenTrue | property | The steps to run when the condition holds. |
constructor WorkflowDecisionStepDeclaration() #
WorkflowDecisionStepDeclaration() #public WorkflowDecisionStepDeclaration()
Creates an instance of Workflow.
property ConditionExpression #
ConditionExpression #public required WorkflowExpressionDefinition ConditionExpression { get; init; }
The condition.
property DecisionName #
DecisionName #public required string DecisionName { get; init; }
The label of the decision in diagrams.
property WhenElse #
WhenElse #public WorkflowStepSequenceDeclaration WhenElse { get; init; }
The steps to run otherwise.
property WhenTrue #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionActivateRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | Who activates, for the audit; the HTTP endpoint uses the caller and ignores this value. |
AllowRollback | property | Allows activating a lower version than the active one; it must be set for such a rollback, with WorkflowDefinitionActivateRequest., and must not be set otherwise. |
ExpectedActiveSha256 | property | The content hash the caller expects the active version to have; checked with WorkflowDefinitionActivateRequest.. |
ExpectedActiveVersion | property | 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_. |
ReasonCode | property | Why, for the audit; OPERATOR_ACTIVATION by default. |
RollbackOfAuditId | property | The audit record of the activation the rollback reverts; required for a rollback. |
Version | property | The version to activate. |
WorkflowName | property | The workflow name; the HTTP endpoint takes it from the route. |
constructor WorkflowDefinitionActivateRequest() #
WorkflowDefinitionActivateRequest() #public WorkflowDefinitionActivateRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public string ActorId { get; init; }
Who activates, for the audit; the HTTP endpoint uses the caller and ignores this value.
property AllowRollback #
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., and must not be set otherwise.
property ExpectedActiveSha256 #
ExpectedActiveSha256 #public string? ExpectedActiveSha256 { get; init; }
The content hash the caller expects the active version to have; checked with WorkflowDefinitionActivateRequest..
property ExpectedActiveVersion #
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_.
property ReasonCode #
ReasonCode #public string ReasonCode { get; init; }
Why, for the audit; OPERATOR_ACTIVATION by default.
property RollbackOfAuditId #
RollbackOfAuditId #public string? RollbackOfAuditId { get; init; }
The audit record of the activation the rollback reverts; required for a rollback.
property Version #
Version #public required string Version { get; init; }
The version to activate.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionActivateResponse( | constructor | Creates an instance of Workflow. |
Activated | property | Whether the version was activated. |
Version | property | The activated version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionActivateResponse() #
WorkflowDefinitionActivateResponse() #public WorkflowDefinitionActivateResponse()
Creates an instance of Workflow.
property Activated #
Activated #public bool Activated { get; init; }
Whether the version was activated.
property Version #
Version #public required string Version { get; init; }
The activated version.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionByIdRequest( | constructor | Creates an instance of Workflow. |
IncludeRendering | property | Include rendering assets (SVG, JSON, PNG) in the response. |
Version | property | Specific version. |
WorkflowName | property | Workflow name to retrieve. |
constructor WorkflowDefinitionByIdRequest() #
WorkflowDefinitionByIdRequest() #public WorkflowDefinitionByIdRequest()
Creates an instance of Workflow.
property IncludeRendering #
IncludeRendering #public bool IncludeRendering { get; init; }
Include rendering assets (SVG, JSON, PNG) in the response.
property Version #
Version #public string? Version { get; init; }
Specific version. Null = active version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
Workflow name to retrieve.
record WorkflowDefinitionByIdResponse
public sealed record WorkflowDefinitionByIdResponse
One workflow definition.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionByIdResponse( | constructor | Creates an instance of Workflow. |
CanonicalDefinitionJson | property | The canonical definition, as JSON. |
ContentHash | property | The content hash, when the definition is stored. |
DisplayName | property | The display name. |
IsActive | property | Whether the version is the active one. |
RenderingJsonBase64 | property | The render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored. |
RenderingPngBase64 | property | The PNG image, base64-encoded; set when the request asked for the rendering and one is stored. |
RenderingSvgBase64 | property | The SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored. |
Source | property | “catalog” when compiled from a code-registered workflow, “store” when served from the persistent import store. |
Version | property | The version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionByIdResponse() #
WorkflowDefinitionByIdResponse() #public WorkflowDefinitionByIdResponse()
Creates an instance of Workflow.
property CanonicalDefinitionJson #
CanonicalDefinitionJson #public required string CanonicalDefinitionJson { get; init; }
The canonical definition, as JSON.
property ContentHash #
ContentHash #public string? ContentHash { get; init; }
The content hash, when the definition is stored.
property DisplayName #
DisplayName #public string? DisplayName { get; init; }
The display name.
property IsActive #
IsActive #public bool IsActive { get; init; }
Whether the version is the active one.
property RenderingJsonBase64 #
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 #
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 #
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 #
Source #public string Source { get; init; }
“catalog” when compiled from a code-registered workflow, “store” when served from the persistent import store.
property Version #
Version #public required string Version { get; init; }
The version.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionDescriptor( | constructor | Creates an instance of Workflow. |
DisplayName | property | The display name. |
Tasks | property | The human tasks. |
WorkflowName | property | The workflow name. |
WorkflowRoles | property | The workflow roles. |
WorkflowVersion | property | The version. |
constructor WorkflowDefinitionDescriptor() #
WorkflowDefinitionDescriptor() #public WorkflowDefinitionDescriptor()
Creates an instance of Workflow.
property DisplayName #
DisplayName #public required string DisplayName { get; init; }
The display name.
property Tasks #
Tasks #public IReadOnlyCollection<WorkflowTaskDescriptor> Tasks { get; init; }
The human tasks.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowRoles #
WorkflowRoles #public IReadOnlyCollection<string> WorkflowRoles { get; init; }
The workflow roles.
property WorkflowVersion #
WorkflowVersion #public required string WorkflowVersion { get; init; }
The version.
record WorkflowDefinitionExportMultiRequest
public sealed record WorkflowDefinitionExportMultiRequest
Exports a definition in a source format.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionExportMultiRequest( | constructor | Creates an instance of Workflow. |
FormatId | property | The target format, as the supported formats list it. |
Version | property | The version; the active one when not set. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionExportMultiRequest() #
WorkflowDefinitionExportMultiRequest() #public WorkflowDefinitionExportMultiRequest()
Creates an instance of Workflow.
property FormatId #
FormatId #public required string FormatId { get; init; }
The target format, as the supported formats list it.
property Version #
Version #public string? Version { get; init; }
The version; the active one when not set.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionExportMultiResponse
public sealed record WorkflowDefinitionExportMultiResponse
A definition exported in a source format.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionExportMultiResponse( | constructor | Creates an instance of Workflow. |
ContentBase64 | property | The content, base64-encoded. |
ContentType | property | The media type of the content. |
FormatId | property | The format. |
SuggestedFileName | property | A file name for the content. |
Version | property | The version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionExportMultiResponse() #
WorkflowDefinitionExportMultiResponse() #public WorkflowDefinitionExportMultiResponse()
Creates an instance of Workflow.
property ContentBase64 #
ContentBase64 #public required string ContentBase64 { get; init; }
The content, base64-encoded.
property ContentType #
ContentType #public required string ContentType { get; init; }
The media type of the content.
property FormatId #
FormatId #public required string FormatId { get; init; }
The format.
property SuggestedFileName #
SuggestedFileName #public required string SuggestedFileName { get; init; }
A file name for the content.
property Version #
Version #public required string Version { get; init; }
The version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionExportRequest
public sealed record WorkflowDefinitionExportRequest
Exports a stored workflow definition.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionExportRequest( | constructor | Creates an instance of Workflow. |
IncludeRendering | property | Include rendering assets (SVG, JSON, PNG) in the response. |
Version | property | Specific version to export. |
WorkflowName | property | Workflow name to export. |
constructor WorkflowDefinitionExportRequest() #
WorkflowDefinitionExportRequest() #public WorkflowDefinitionExportRequest()
Creates an instance of Workflow.
property IncludeRendering #
IncludeRendering #public bool IncludeRendering { get; init; }
Include rendering assets (SVG, JSON, PNG) in the response.
property Version #
Version #public string? Version { get; init; }
Specific version to export. Null = export the active version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
Workflow name to export.
record WorkflowDefinitionExportResponse
public sealed record WorkflowDefinitionExportResponse
An exported workflow definition.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionExportResponse( | constructor | Creates an instance of Workflow. |
CanonicalDefinitionJson | property | The canonical definition, as JSON. |
ContentHash | property | The content hash of the definition. |
IsActive | property | Whether the version is the active one. |
RenderingJsonBase64 | property | The render graph JSON, base64-encoded; set when the request asked for the rendering and one is stored. |
RenderingPngBase64 | property | The PNG image, base64-encoded; set when the request asked for the rendering and one is stored. |
RenderingSvgBase64 | property | The SVG diagram, base64-encoded; set when the request asked for the rendering and one is stored. |
Version | property | The exported version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionExportResponse() #
WorkflowDefinitionExportResponse() #public WorkflowDefinitionExportResponse()
Creates an instance of Workflow.
property CanonicalDefinitionJson #
CanonicalDefinitionJson #public required string CanonicalDefinitionJson { get; init; }
The canonical definition, as JSON.
property ContentHash #
ContentHash #public required string ContentHash { get; init; }
The content hash of the definition.
property IsActive #
IsActive #public bool IsActive { get; init; }
Whether the version is the active one.
property RenderingJsonBase64 #
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 #
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 #
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 #
Version #public required string Version { get; init; }
The exported version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionGetRequest
public sealed record WorkflowDefinitionGetRequest
Lists workflow definitions.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionGetRequest( | constructor | Creates an instance of Workflow. |
Filters | property | A client-side table filter collection that a request body may carry. |
Page | property | Pagination (1-based) alternative that matches the UI table payload convention. |
PageSize | property | See WorkflowDefinitionGetRequest.. |
Skip | property | Pagination: rows to skip. |
SortModel | property | Optional sort. |
Take | property | Pagination: max rows to return. |
WorkflowName | property | A name filter: the name, or a part of it, ignoring case. |
WorkflowNames | property | Filter by multiple workflow names. |
WorkflowVersion | property | A version filter. |
constructor WorkflowDefinitionGetRequest() #
WorkflowDefinitionGetRequest() #public WorkflowDefinitionGetRequest()
Creates an instance of Workflow.
property Filters #
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 #
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 = ( and Take = PageSize, taking precedence over explicit Skip/Take.
property PageSize #
PageSize #public int PageSize { get; init; }
property Skip #
Skip #public int Skip { get; init; }
Pagination: rows to skip. 0 = start from beginning.
property SortModel #
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 #
Take #public int Take { get; init; }
Pagination: max rows to return. 0 = return all.
property WorkflowName #
WorkflowName #public string? WorkflowName { get; init; }
A name filter: the name, or a part of it, ignoring case.
property WorkflowNames #
WorkflowNames #public IReadOnlyCollection<string> WorkflowNames { get; init; }
Filter by multiple workflow names.
property WorkflowVersion #
WorkflowVersion #public string? WorkflowVersion { get; init; }
A version filter. With it, every matching version is returned; without it and without WorkflowDefinitionGetRequest., only the latest version of each workflow.
record WorkflowDefinitionGetResponse
public sealed record WorkflowDefinitionGetResponse
A page of workflow definitions.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionGetResponse( | constructor | Creates an instance of Workflow. |
Definitions | property | The definitions of the page. |
TotalCount | property | Total number of definitions matching the filter (pre-pagination). |
constructor WorkflowDefinitionGetResponse() #
WorkflowDefinitionGetResponse() #public WorkflowDefinitionGetResponse()
Creates an instance of Workflow.
property Definitions #
Definitions #public IReadOnlyCollection<WorkflowDefinitionDescriptor> Definitions { get; init; }
The definitions of the page.
property TotalCount #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionImportMultiRequest( | constructor | Creates an instance of Workflow. |
ContentBase64 | property | The source content, base64-encoded. |
FormatId | property | The source format, as the supported formats list it, such as canonical-yaml. |
ImportedBy | property | Who imports; the HTTP endpoint records the caller instead. |
constructor WorkflowDefinitionImportMultiRequest() #
WorkflowDefinitionImportMultiRequest() #public WorkflowDefinitionImportMultiRequest()
Creates an instance of Workflow.
property ContentBase64 #
ContentBase64 #public required string ContentBase64 { get; init; }
The source content, base64-encoded.
property FormatId #
FormatId #public required string FormatId { get; init; }
The source format, as the supported formats list it, such as canonical-yaml.
property ImportedBy #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionImportMultiResponse( | constructor | Creates an instance of Workflow. |
CanonicalDefinitionJson | property | The converted canonical definition, as JSON. |
ContentHash | property | The content hash. |
ConversionDiagnostics | property | The findings of the conversion. |
IsActive | property | Whether the version is the active one. |
ValidationIssues | property | The findings of the validation. |
Version | property | The version. |
WasImported | property | Whether a new version was stored; false when the content was already stored or the source was refused. |
WasNewVersion | property | Whether the import stored a new version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionImportMultiResponse() #
WorkflowDefinitionImportMultiResponse() #public WorkflowDefinitionImportMultiResponse()
Creates an instance of Workflow.
property CanonicalDefinitionJson #
CanonicalDefinitionJson #public string? CanonicalDefinitionJson { get; init; }
The converted canonical definition, as JSON.
property ContentHash #
ContentHash #public string? ContentHash { get; init; }
The content hash.
property ConversionDiagnostics #
ConversionDiagnostics #public IReadOnlyCollection<WorkflowSourceFormatDiagnosticDto> ConversionDiagnostics { get; init; }
The findings of the conversion.
property IsActive #
IsActive #public bool IsActive { get; init; }
Whether the version is the active one.
property ValidationIssues #
ValidationIssues #public IReadOnlyCollection<WorkflowCanonicalIssueDto> ValidationIssues { get; init; }
The findings of the validation.
property Version #
Version #public string? Version { get; init; }
The version.
property WasImported #
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 #
WasNewVersion #public bool WasNewVersion { get; init; }
Whether the import stored a new version.
property WorkflowName #
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_. The HTTP endpoint records the caller as WorkflowDefinitionImportRequest..
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionImportRequest( | constructor | Creates an instance of Workflow. |
CanonicalDefinitionJson | property | Canonical definition JSON to import. |
CompatibilitySha256 | property | The compatibility SHA-256, as 64 hexadecimal digits; required for a managed definition, and stored as zeros when not set for another one. |
ImportedBy | property | User or system identifier performing the import. |
ManagedCode | property | The code of a managed definition. |
Origin | property | Where the definition comes from: OPERATOR_IMPORTED (the default) or MANAGED_EMBEDDED; any other value is refused. |
RenderingJsonBase64 | property | Optional render graph JSON (base64-encoded). |
RenderingPngBase64 | property | Optional PNG screenshot (base64-encoded). |
RenderingSvgBase64 | property | Optional SVG diagram (base64-encoded). |
SourceBuildSha256 | property | The 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() #
WorkflowDefinitionImportRequest() #public WorkflowDefinitionImportRequest()
Creates an instance of Workflow.
property CanonicalDefinitionJson #
CanonicalDefinitionJson #public required string CanonicalDefinitionJson { get; init; }
Canonical definition JSON to import.
property CompatibilitySha256 #
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 #
ImportedBy #public string? ImportedBy { get; init; }
User or system identifier performing the import.
property ManagedCode #
ManagedCode #public string? ManagedCode { get; init; }
The code of a managed definition.
property Origin #
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_.
property RenderingJsonBase64 #
RenderingJsonBase64 #public string? RenderingJsonBase64 { get; init; }
Optional render graph JSON (base64-encoded).
property RenderingPngBase64 #
RenderingPngBase64 #public string? RenderingPngBase64 { get; init; }
Optional PNG screenshot (base64-encoded).
property RenderingSvgBase64 #
RenderingSvgBase64 #public string? RenderingSvgBase64 { get; init; }
Optional SVG diagram (base64-encoded).
property SourceBuildSha256 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionImportResponse( | constructor | Creates an instance of Workflow. |
ContentHash | property | The content hash of the definition. |
IsActive | property | Whether this version is now the active version. |
ValidationIssues | property | Validation issues found during import (empty if successful). |
Version | property | The version, as the definition declares it. |
WasImported | property | False if the content hash matched an existing version (no-op import). |
WasNewVersion | property | True if this was the first import for this base version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionImportResponse() #
WorkflowDefinitionImportResponse() #public WorkflowDefinitionImportResponse()
Creates an instance of Workflow.
property ContentHash #
ContentHash #public required string ContentHash { get; init; }
The content hash of the definition.
property IsActive #
IsActive #public bool IsActive { get; init; }
Whether this version is now the active version.
property ValidationIssues #
ValidationIssues #public IReadOnlyCollection<WorkflowCanonicalValidationIssue> ValidationIssues { get; init; }
Validation issues found during import (empty if successful).
property Version #
Version #public required string Version { get; init; }
The version, as the definition declares it.
property WasImported #
WasImported #public bool WasImported { get; init; }
False if the content hash matched an existing version (no-op import).
property WasNewVersion #
WasNewVersion #public bool WasNewVersion { get; init; }
True if this was the first import for this base version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionVersionSummary
public sealed record WorkflowDefinitionVersionSummary
One stored version of a workflow definition.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionVersionSummary( | constructor | Creates an instance of Workflow. |
ActivatedOnUtc | property | When the version was last activated, in UTC. |
BaseVersion | property | The version the definition declares. |
BuildIteration | property | The build iteration within the base version; 0 for a version imported as declared. |
CompatibilitySha256 | property | The compatibility SHA-256; zeros when none was given. |
ContentHash | property | The content hash. |
CreatedOnUtc | property | When the version was stored, in UTC. |
DisplayName | property | The display name of the definition. |
ImportedBy | property | Who imported the version. |
IsActive | property | Whether the version is the active one. |
IsManaged | property | Whether the definition is managed (MANAGED_EMBEDDED). |
ManagedCode | property | The code of a managed definition. |
Origin | property | Where the definition comes from: OPERATOR_IMPORTED or MANAGED_EMBEDDED. |
SourceBuildSha256 | property | The source build SHA-256; zeros when none was given. |
Version | property | The version. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionVersionSummary() #
WorkflowDefinitionVersionSummary() #public WorkflowDefinitionVersionSummary()
Creates an instance of Workflow.
property ActivatedOnUtc #
ActivatedOnUtc #public DateTime? ActivatedOnUtc { get; init; }
When the version was last activated, in UTC.
property BaseVersion #
BaseVersion #public required string BaseVersion { get; init; }
The version the definition declares.
property BuildIteration #
BuildIteration #public int BuildIteration { get; init; }
The build iteration within the base version; 0 for a version imported as declared.
property CompatibilitySha256 #
CompatibilitySha256 #public required string CompatibilitySha256 { get; init; }
The compatibility SHA-256; zeros when none was given.
property ContentHash #
ContentHash #public required string ContentHash { get; init; }
The content hash.
property CreatedOnUtc #
CreatedOnUtc #public DateTime CreatedOnUtc { get; init; }
When the version was stored, in UTC.
property DisplayName #
DisplayName #public string? DisplayName { get; init; }
The display name of the definition.
property ImportedBy #
ImportedBy #public string? ImportedBy { get; init; }
Who imported the version.
property IsActive #
IsActive #public bool IsActive { get; init; }
Whether the version is the active one.
property IsManaged #
IsManaged #public bool IsManaged { get; init; }
Whether the definition is managed (MANAGED_EMBEDDED).
property ManagedCode #
ManagedCode #public string? ManagedCode { get; init; }
The code of a managed definition.
property Origin #
Origin #public required string Origin { get; init; }
Where the definition comes from: OPERATOR_IMPORTED or MANAGED_EMBEDDED.
property SourceBuildSha256 #
SourceBuildSha256 #public required string SourceBuildSha256 { get; init; }
The source build SHA-256; zeros when none was given.
property Version #
Version #public required string Version { get; init; }
The version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionVersionsGetRequest
public sealed record WorkflowDefinitionVersionsGetRequest
Lists the stored versions of a workflow.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionVersionsGetRequest( | constructor | Creates an instance of Workflow. |
WorkflowName | property | The workflow name. |
constructor WorkflowDefinitionVersionsGetRequest() #
WorkflowDefinitionVersionsGetRequest() #public WorkflowDefinitionVersionsGetRequest()
Creates an instance of Workflow.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowDefinitionVersionsGetResponse
public sealed record WorkflowDefinitionVersionsGetResponse
The stored versions of a workflow.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDefinitionVersionsGetResponse( | constructor | Creates an instance of Workflow. |
Versions | property | The versions. |
constructor WorkflowDefinitionVersionsGetResponse() #
WorkflowDefinitionVersionsGetResponse() #public WorkflowDefinitionVersionsGetResponse()
Creates an instance of Workflow.
property Versions #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDesignatedWorkflow( | constructor | Creates an instance of Workflow. |
FirstSeenOnUtc | property | When the workflow was first seen (UTC). |
FirstSeenSource | property | Where the workflow was first seen: catalog, store or import. |
WorkflowName | property | The spelling of the workflow name at its first sighting. |
constructor WorkflowDesignatedWorkflow() #
WorkflowDesignatedWorkflow() #public WorkflowDesignatedWorkflow()
Creates an instance of Workflow.
property FirstSeenOnUtc #
FirstSeenOnUtc #public required DateTimeOffset FirstSeenOnUtc { get; init; }
When the workflow was first seen (UTC).
property FirstSeenSource #
FirstSeenSource #public required string FirstSeenSource { get; init; }
Where the workflow was first seen: catalog, store or import.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDesignatedWorkflowsGetResponse( | constructor | Creates an instance of Workflow. |
DesignatedWorkflows | property | The number of distinct workflows the ledger records; equals the number of WorkflowDesignatedWorkflowsGetResponse.. |
Ledger | property | 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. |
Licence | property | The licence status of the latest licence evaluation; null before the first evaluation of this process. |
Notice | property | 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). |
Workflows | property | The recorded workflows, ordered by their invariant upper-case name (ordinal). |
constructor WorkflowDesignatedWorkflowsGetResponse() #
WorkflowDesignatedWorkflowsGetResponse() #public WorkflowDesignatedWorkflowsGetResponse()
Creates an instance of Workflow.
property DesignatedWorkflows #
DesignatedWorkflows #public required int DesignatedWorkflows { get; init; }
The number of distinct workflows the ledger records; equals the number of WorkflowDesignatedWorkflowsGetResponse..
property Ledger #
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 #
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 #
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 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramEdge( | constructor | Creates an instance of WorkflowDiagramEdge. |
Label | property | The label. |
Sections | property | The routed sections. |
SourceNodeId | property | The source node. |
TargetNodeId | property | The target node. |
constructor WorkflowDiagramEdge() #
WorkflowDiagramEdge() #public WorkflowDiagramEdge()
Creates an instance of WorkflowDiagramEdge.
property Label #
Label #public string? Label { get; init; }
The label.
property Sections #
Sections #public IReadOnlyCollection<WorkflowDiagramEdgeSection> Sections { get; init; }
The routed sections.
property SourceNodeId #
SourceNodeId #public required string SourceNodeId { get; init; }
The source node.
property TargetNodeId #
TargetNodeId #public required string TargetNodeId { get; init; }
The target node.
record WorkflowDiagramEdgeSection
public sealed record WorkflowDiagramEdgeSection
A routed section of a diagram edge.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramEdgeSection( | constructor | Creates an instance of Workflow. |
BendPoints | property | The bends between them. |
EndPoint | property | Where the section ends. |
StartPoint | property | Where the section starts. |
constructor WorkflowDiagramEdgeSection() #
WorkflowDiagramEdgeSection() #public WorkflowDiagramEdgeSection()
Creates an instance of Workflow.
property BendPoints #
BendPoints #public IReadOnlyCollection<WorkflowDiagramPoint> BendPoints { get; init; }
The bends between them.
property EndPoint #
EndPoint #public required WorkflowDiagramPoint EndPoint { get; init; }
Where the section ends.
property StartPoint #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramGetRequest( | constructor | Creates an instance of Workflow. |
LayoutEffort | property | The layout effort: Draft, Balanced or Best (the default), ignoring case. |
LayoutOrderingIterations | property | The node ordering iterations of the layout. |
LayoutPlacementIterations | property | The node placement iterations of the layout. |
LayoutProvider | property | The layout provider; the configured one when not set. |
WorkflowInstanceId | property | An instance whose progress the diagram shows. |
WorkflowName | property | The workflow name. |
WorkflowVersion | property | The version; the latest when not set. |
constructor WorkflowDiagramGetRequest() #
WorkflowDiagramGetRequest() #public WorkflowDiagramGetRequest()
Creates an instance of Workflow.
property LayoutEffort #
LayoutEffort #public string? LayoutEffort { get; init; }
The layout effort: Draft, Balanced or Best (the default), ignoring case.
property LayoutOrderingIterations #
LayoutOrderingIterations #public int? LayoutOrderingIterations { get; init; }
The node ordering iterations of the layout.
property LayoutPlacementIterations #
LayoutPlacementIterations #public int? LayoutPlacementIterations { get; init; }
The node placement iterations of the layout.
property LayoutProvider #
LayoutProvider #public string? LayoutProvider { get; init; }
The layout provider; the configured one when not set.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
An instance whose progress the diagram shows.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramGetResponse( | constructor | Creates an instance of Workflow. |
DisplayName | property | The display name. |
Edges | property | The routed edges. |
InstanceStatus | property | The status of that instance. |
LayoutEffort | property | The layout effort used. |
LayoutOrderingIterations | property | The ordering iterations used. |
LayoutPlacementIterations | property | The placement iterations used. |
LayoutProvider | property | The layout provider used. |
Nodes | property | The positioned nodes. |
RuntimeProvider | property | The runtime provider of that instance. |
RuntimeStatus | property | The runtime status of that instance. |
WorkflowInstanceId | property | The instance shown, when the request named one. |
WorkflowName | property | The workflow name. |
WorkflowVersion | property | The version. |
constructor WorkflowDiagramGetResponse() #
WorkflowDiagramGetResponse() #public WorkflowDiagramGetResponse()
Creates an instance of Workflow.
property DisplayName #
DisplayName #public required string DisplayName { get; init; }
The display name.
property Edges #
Edges #public IReadOnlyCollection<WorkflowDiagramEdge> Edges { get; init; }
The routed edges.
property InstanceStatus #
InstanceStatus #public string? InstanceStatus { get; init; }
The status of that instance.
property LayoutEffort #
LayoutEffort #public string? LayoutEffort { get; init; }
The layout effort used.
property LayoutOrderingIterations #
LayoutOrderingIterations #public int? LayoutOrderingIterations { get; init; }
The ordering iterations used.
property LayoutPlacementIterations #
LayoutPlacementIterations #public int? LayoutPlacementIterations { get; init; }
The placement iterations used.
property LayoutProvider #
LayoutProvider #public string? LayoutProvider { get; init; }
The layout provider used.
property Nodes #
Nodes #public IReadOnlyCollection<WorkflowDiagramNode> Nodes { get; init; }
The positioned nodes.
property RuntimeProvider #
RuntimeProvider #public string? RuntimeProvider { get; init; }
The runtime provider of that instance.
property RuntimeStatus #
RuntimeStatus #public string? RuntimeStatus { get; init; }
The runtime status of that instance.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
The instance shown, when the request named one.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramNode( | constructor | Creates an instance of WorkflowDiagramNode. |
Assignee | property | The assignee of that task. |
EffectiveRoles | property | The roles of the active task of the node, after any runtime roles. |
Height | property | The node height. |
IconKey | property | The icon of the node. |
Id | property | The node identifier. |
Label | property | The label. |
NodeStatus | property | 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. |
NodeType | property | The node kind, such as Start, End, HumanTask, TransportCall or Decision. |
Route | property | The route of a human task node. |
SemanticKey | property | The name of what the node stands for, such as the task or step name. |
SemanticType | property | What the node stands for, such as Task or Decision. |
TaskRoles | property | The roles the task declares, for a human task node. |
TaskType | property | The task type of a human task node. |
VisitCount | property | How many tasks the node has created in the instance. |
Width | property | The node width. |
WorkflowRoles | property | The roles of the workflow. |
WorkflowTaskId | property | The latest task of the node in the instance. |
X | property | The left edge of the node. |
Y | property | The top edge of the node. |
constructor WorkflowDiagramNode() #
WorkflowDiagramNode() #public WorkflowDiagramNode()
Creates an instance of WorkflowDiagramNode.
property Assignee #
Assignee #public string? Assignee { get; init; }
The assignee of that task.
property EffectiveRoles #
EffectiveRoles #public IReadOnlyCollection<string> EffectiveRoles { get; init; }
The roles of the active task of the node, after any runtime roles.
property Height #
Height #public double Height { get; init; }
The node height.
property IconKey #
IconKey #public string? IconKey { get; init; }
The icon of the node.
property Id #
Id #public required string Id { get; init; }
The node identifier.
property Label #
Label #public required string Label { get; init; }
The label.
property NodeStatus #
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 #
NodeType #public required string NodeType { get; init; }
The node kind, such as Start, End, HumanTask, TransportCall or Decision.
property Route #
Route #public string? Route { get; init; }
The route of a human task node.
property SemanticKey #
SemanticKey #public string? SemanticKey { get; init; }
The name of what the node stands for, such as the task or step name.
property SemanticType #
SemanticType #public string? SemanticType { get; init; }
What the node stands for, such as Task or Decision.
property TaskRoles #
TaskRoles #public IReadOnlyCollection<string> TaskRoles { get; init; }
The roles the task declares, for a human task node.
property TaskType #
TaskType #public string? TaskType { get; init; }
The task type of a human task node.
property VisitCount #
VisitCount #public int VisitCount { get; init; }
How many tasks the node has created in the instance.
property Width #
Width #public double Width { get; init; }
The node width.
property WorkflowRoles #
WorkflowRoles #public IReadOnlyCollection<string> WorkflowRoles { get; init; }
The roles of the workflow.
property WorkflowTaskId #
WorkflowTaskId #public string? WorkflowTaskId { get; init; }
The latest task of the node in the instance.
property X #
X #public double X { get; init; }
The left edge of the node.
property Y #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowDiagramPoint( | constructor | Creates an instance of WorkflowDiagramPoint. |
X | property | The horizontal position. |
Y | property | The vertical position. |
constructor WorkflowDiagramPoint() #
WorkflowDiagramPoint() #public WorkflowDiagramPoint()
Creates an instance of WorkflowDiagramPoint.
property X #
X #public required double X { get; init; }
The horizontal position.
property Y #
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.with WorkflowEndpointAddressDeclaration..
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowEndpointAddressDeclaration( | constructor | Creates an instance of Workflow. |
Method | property | The HTTP method; POST by default. |
Path | property | The path. |
ServiceName | property | The service. |
constructor WorkflowEndpointAddressDeclaration() #
WorkflowEndpointAddressDeclaration() #public WorkflowEndpointAddressDeclaration()
Creates an instance of Workflow.
property Method #
Method #public string Method { get; init; }
The HTTP method; POST by default.
property Path #
Path #public required string Path { get; init; }
The path.
property ServiceName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowEndpointRequest( | constructor | Creates an instance of Workflow. |
Method | property | The HTTP method; POST by default. |
Path | property | The path, joined to the base address. |
Payload | property | The body, sent as JSON; none when not set. |
ServiceName | property | The service, resolved to a base address by the endpoint transport. |
constructor WorkflowEndpointRequest() #
WorkflowEndpointRequest() #public WorkflowEndpointRequest()
Creates an instance of Workflow.
property Method #
Method #public string Method { get; init; }
The HTTP method; POST by default.
property Path #
Path #public required string Path { get; init; }
The path, joined to the base address.
property Payload #
Payload #public object? Payload { get; init; }
The body, sent as JSON; none when not set.
property ServiceName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowEndpointResponse( | constructor | Creates an instance of Workflow. |
Error | property | Why the call failed; not set when it succeeded. |
Payload | property | The response body: read as JSON, or the text when it is not JSON. |
StatusCode | property | The status the service answered with, when it answered; whenFailure branches read it. |
Succeeded | property | Whether the call succeeded. |
constructor WorkflowEndpointResponse() #
WorkflowEndpointResponse() #public WorkflowEndpointResponse()
Creates an instance of Workflow.
property Error #
Error #public string? Error { get; init; }
Why the call failed; not set when it succeeded.
property Payload #
Payload #public object? Payload { get; init; }
The response body: read as JSON, or the text when it is not JSON.
property StatusCode #
StatusCode #public long? StatusCode { get; init; }
The status the service answered with, when it answered; whenFailure branches read it.
property Succeeded #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionGraph( | constructor | The scopes and steps of a workflow execution as a graph. |
Edges | property | The edges. |
Nodes | property | The nodes. |
constructor WorkflowExecutionGraph(IReadOnlyList<WorkflowExecutionGraphNode>, IReadOnlyList<WorkflowExecutionGraphEdge>) #
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 #
Edges #public IReadOnlyList<WorkflowExecutionGraphEdge> Edges { get; init; }
The edges.
property Nodes #
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:containsfrom a scope to what it contains, ornextfrom a step to the next one.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionGraphEdge( | constructor | An edge of an execution graph. |
Kind | property | contains from a scope to what it contains, or next from a step to the next one. |
SourceId | property | The source node. |
TargetId | property | The target node. |
constructor WorkflowExecutionGraphEdge(string, string, string) #
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:containsfrom a scope to what it contains, ornextfrom a step to the next one.
property Kind #
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 #
SourceId #public string SourceId { get; init; }
The source node.
property TargetId #
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:scopeorstep.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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionGraphNode( | constructor | A node of an execution graph: a scope or a step. |
Id | property | The scope or step execution. |
Kind | property | scope or step. |
Label | property | The scope code, or the step key; the TECHNICAL profile adds the operation. |
ParentId | property | The scope that contains the node. |
Status | property | The status. |
constructor WorkflowExecutionGraphNode(string, string, string, string, string) #
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:scopeorstep.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 #
Id #public string Id { get; init; }
The scope or step execution.
property Kind #
Kind #public string Kind { get; init; }
scope or step.
property Label #
Label #public string Label { get; init; }
The scope code, or the step key; the TECHNICAL profile adds the operation.
property ParentId #
ParentId #public string? ParentId { get; init; }
The scope that contains the node.
property Status #
Status #public string Status { get; init; }
The status.
record WorkflowExecutionListItem
public sealed record WorkflowExecutionListItem
One workflow execution of the console list.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionListItem( | constructor | Creates an instance of Workflow. |
CompletedAtUtc | property | When it completed, in UTC. |
CreatedAtUtc | property | When it started, in UTC. |
DefinitionCode | property | The workflow name. |
DefinitionVersion | property | The workflow version. |
Status | property | The status. |
WorkflowExecutionId | property | The execution (workflow instance). |
constructor WorkflowExecutionListItem() #
WorkflowExecutionListItem() #public WorkflowExecutionListItem()
Creates an instance of Workflow.
property CompletedAtUtc #
CompletedAtUtc #public DateTime? CompletedAtUtc { get; init; }
When it completed, in UTC.
property CreatedAtUtc #
CreatedAtUtc #public required DateTime CreatedAtUtc { get; init; }
When it started, in UTC.
property DefinitionCode #
DefinitionCode #public required string DefinitionCode { get; init; }
The workflow name.
property DefinitionVersion #
DefinitionVersion #public required string DefinitionVersion { get; init; }
The workflow version.
property Status #
Status #public required string Status { get; init; }
The status.
property WorkflowExecutionId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionListRequest( | constructor | Creates an instance of Workflow. |
Cursor | property | The cursor of the next page, from the previous response; the first page when not set. |
PageSize | property | The page size, from 1 to 50; 25 by default. |
Profile | property | The console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more. |
constructor WorkflowExecutionListRequest() #
WorkflowExecutionListRequest() #public WorkflowExecutionListRequest()
Creates an instance of Workflow.
property Cursor #
Cursor #public string? Cursor { get; init; }
The cursor of the next page, from the previous response; the first page when not set.
property PageSize #
PageSize #public int PageSize { get; init; }
The page size, from 1 to 50; 25 by default.
property Profile #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionListResponse( | constructor | Creates an instance of Workflow. |
HasMoreCandidates | property | Whether a next page exists. |
Items | property | The executions of the page. |
NextCursor | property | The cursor of the next page; not set on the last page. |
constructor WorkflowExecutionListResponse() #
WorkflowExecutionListResponse() #public WorkflowExecutionListResponse()
Creates an instance of Workflow.
property HasMoreCandidates #
HasMoreCandidates #public required bool HasMoreCandidates { get; init; }
Whether a next page exists.
property Items #
Items #public required IReadOnlyList<WorkflowExecutionListItem> Items { get; init; }
The executions of the page.
property NextCursor #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionResourceRequest( | constructor | Creates an instance of Workflow. |
AfterSequence | property | For the timeline: the history sequence after which events are returned. |
MaxCount | property | The most rows to return, from 1 to 1000; 100 by default. |
Profile | property | The console profile: SAFE (the default) shows only the allowed state keys and step names; TECHNICAL shows more. |
WorkflowExecutionId | property | The execution (workflow instance). |
constructor WorkflowExecutionResourceRequest() #
WorkflowExecutionResourceRequest() #public WorkflowExecutionResourceRequest()
Creates an instance of Workflow.
property AfterSequence #
AfterSequence #public long AfterSequence { get; init; }
For the timeline: the history sequence after which events are returned.
property MaxCount #
MaxCount #public int MaxCount { get; init; }
The most rows to return, from 1 to 1000; 100 by default.
property Profile #
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 #
WorkflowExecutionId #public required string WorkflowExecutionId { get; init; }
The execution (workflow instance).
record WorkflowExecutionResourceResponse
public sealed record WorkflowExecutionResourceResponse
One resource of a workflow execution.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionResourceResponse( | constructor | Creates an instance of Workflow. |
Authoritative | property | Whether the resource was read from the durable store; this engine always reads it there. |
Found | property | Whether the execution exists. |
OverlayKind | property | The kind of overlay the resource comes from; this engine sets none. |
Profile | property | The profile the resource was read with. |
Resource | property | The resource, when the execution exists. |
constructor WorkflowExecutionResourceResponse() #
WorkflowExecutionResourceResponse() #public WorkflowExecutionResourceResponse()
Creates an instance of Workflow.
property Authoritative #
Authoritative #public required bool Authoritative { get; init; }
Whether the resource was read from the durable store; this engine always reads it there.
property Found #
Found #public required bool Found { get; init; }
Whether the execution exists.
property OverlayKind #
OverlayKind #public string? OverlayKind { get; init; }
The kind of overlay the resource comes from; this engine sets none.
property Profile #
Profile #public required string Profile { get; init; }
The profile the resource was read with.
property Resource #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionSnapshot( | constructor | Creates an instance of Workflow. |
Task | property | The task. |
WorkflowState | property | The state of its instance. |
constructor WorkflowExecutionSnapshot() #
WorkflowExecutionSnapshot() #public WorkflowExecutionSnapshot()
Creates an instance of Workflow.
property Task #
Task #public required WorkflowTaskSummary Task { get; init; }
The task.
property WorkflowState #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExecutionSvg( | constructor | The execution graph drawn as SVG. |
ContentType | property | The media type of the SVG. |
EdgeCount | property | The edges drawn. |
NodeCount | property | The nodes drawn. |
Svg | property | The SVG markup. |
constructor WorkflowExecutionSvg(string, string, int, int) #
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 #
ContentType #public string ContentType { get; init; }
The media type of the SVG.
property EdgeCount #
EdgeCount #public int EdgeCount { get; init; }
The edges drawn.
property NodeCount #
NodeCount #public int NodeCount { get; init; }
The nodes drawn.
property Svg #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExpressionDefinition( | constructor | Creates an instance of Workflow. |
constructor WorkflowExpressionDefinition() #
WorkflowExpressionDefinition() #protected WorkflowExpressionDefinition()
Creates an instance of Workflow.
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExternalActivityStepDeclaration( | constructor | Creates an instance of Workflow. |
ContractVersion | property | The contract version of the activity in the registry. |
DeadlineSeconds | property | The deadline of the activity in seconds. |
DestinationCode | property | The destination of the activity in the registry. |
OperationCode | property | The operation of the activity in the registry. |
RequestExpression | property | The request. |
ResultKey | property | The key the result is kept under (result.<key>); not kept when not set. |
StepName | property | The step name, shown in diagrams and in result.lastFailure. |
constructor WorkflowExternalActivityStepDeclaration() #
WorkflowExternalActivityStepDeclaration() #public WorkflowExternalActivityStepDeclaration()
Creates an instance of Workflow.
property ContractVersion #
ContractVersion #public required string ContractVersion { get; init; }
The contract version of the activity in the registry.
property DeadlineSeconds #
DeadlineSeconds #public int? DeadlineSeconds { get; init; }
The deadline of the activity in seconds.
property DestinationCode #
DestinationCode #public required string DestinationCode { get; init; }
The destination of the activity in the registry.
property OperationCode #
OperationCode #public required string OperationCode { get; init; }
The operation of the activity in the registry.
property RequestExpression #
RequestExpression #public required WorkflowExpressionDefinition RequestExpression { get; init; }
The request.
property ResultKey #
ResultKey #public string? ResultKey { get; init; }
The key the result is kept under (result.<key>); not kept when not set.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowExternalSignalStepDeclaration( | constructor | Creates an instance of Workflow. |
ResultKey | property | The key the signal’s payload is kept under. |
SignalNameExpression | property | The signal name; not empty. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowExternalSignalStepDeclaration() #
WorkflowExternalSignalStepDeclaration() #public WorkflowExternalSignalStepDeclaration()
Creates an instance of Workflow.
property ResultKey #
ResultKey #public string? ResultKey { get; init; }
The key the signal’s payload is kept under.
property SignalNameExpression #
SignalNameExpression #public required WorkflowExpressionDefinition SignalNameExpression { get; init; }
The signal name; not empty.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowForkStepDeclaration( | constructor | Creates an instance of Workflow. |
Branches | property | The branches. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowForkStepDeclaration() #
WorkflowForkStepDeclaration() #public WorkflowForkStepDeclaration()
Creates an instance of Workflow.
property Branches #
Branches #public IReadOnlyCollection<WorkflowStepSequenceDeclaration> Branches { get; init; }
The branches.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionArgumentDescriptor( | constructor | Creates an instance of Workflow. |
Description | property | What the argument is. |
Name | property | The argument name. |
Required | property | Whether the argument is required. |
Type | property | The argument type. |
Variadic | property | Whether the argument takes any number of values. |
constructor WorkflowFunctionArgumentDescriptor() #
WorkflowFunctionArgumentDescriptor() #public WorkflowFunctionArgumentDescriptor()
Creates an instance of Workflow.
property Description #
Description #public required string Description { get; init; }
What the argument is.
property Name #
Name #public required string Name { get; init; }
The argument name.
property Required #
Required #public required bool Required { get; init; }
Whether the argument is required.
property Type #
Type #public required string Type { get; init; }
The argument type.
property Variadic #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionCatalogGetResponse( | constructor | Creates an instance of Workflow. |
Functions | property | The functions. |
InstalledModules | property | The installed function modules. |
constructor WorkflowFunctionCatalogGetResponse() #
WorkflowFunctionCatalogGetResponse() #public WorkflowFunctionCatalogGetResponse()
Creates an instance of Workflow.
property Functions #
Functions #public IReadOnlyCollection<WorkflowFunctionDescriptor> Functions { get; init; }
The functions.
property InstalledModules #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionDescriptor( | constructor | Creates an instance of Workflow. |
Aliases | property | Other names of the function. |
Arguments | property | The arguments. |
Deterministic | property | Whether the function always returns the same result for the same arguments. |
Examples | property | Example calls. |
FunctionName | property | The function name. |
IntroducedInSchemaVersion | property | The canonical schema version that introduced the function. |
ModuleName | property | The module that provides the function. |
ModuleVersion | property | The module version. |
Return | property | The return value. |
Summary | property | What the function does. |
constructor WorkflowFunctionDescriptor() #
WorkflowFunctionDescriptor() #public WorkflowFunctionDescriptor()
Creates an instance of Workflow.
property Aliases #
Aliases #public IReadOnlyCollection<string> Aliases { get; init; }
Other names of the function.
property Arguments #
Arguments #public IReadOnlyCollection<WorkflowFunctionArgumentDescriptor> Arguments { get; init; }
The arguments.
property Deterministic #
Deterministic #public bool Deterministic { get; init; }
Whether the function always returns the same result for the same arguments.
property Examples #
Examples #public IReadOnlyCollection<WorkflowFunctionExample> Examples { get; init; }
Example calls.
property FunctionName #
FunctionName #public required string FunctionName { get; init; }
The function name.
property IntroducedInSchemaVersion #
IntroducedInSchemaVersion #public string IntroducedInSchemaVersion { get; init; }
The canonical schema version that introduced the function.
property ModuleName #
ModuleName #public required string ModuleName { get; init; }
The module that provides the function.
property ModuleVersion #
ModuleVersion #public required string ModuleVersion { get; init; }
The module version.
property Return #
Return #public WorkflowFunctionReturnDescriptor? Return { get; init; }
The return value.
property Summary #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionExample( | constructor | Creates an instance of Workflow. |
Description | property | What the example shows. |
Expression | property | The example expression. |
constructor WorkflowFunctionExample() #
WorkflowFunctionExample() #public WorkflowFunctionExample()
Creates an instance of Workflow.
property Description #
Description #public string? Description { get; init; }
What the example shows.
property Expression #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionExpressionDefinition( | constructor | Creates an instance of Workflow. |
Arguments | property | The arguments. |
FunctionName | property | The function name, as the function catalog lists it. |
constructor WorkflowFunctionExpressionDefinition() #
WorkflowFunctionExpressionDefinition() #public WorkflowFunctionExpressionDefinition()
Creates an instance of Workflow.
property Arguments #
Arguments #public IReadOnlyCollection<WorkflowExpressionDefinition> Arguments { get; init; }
The arguments.
property FunctionName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowFunctionReturnDescriptor( | constructor | Creates an instance of Workflow. |
Description | property | What the function returns. |
Type | property | The return type. |
constructor WorkflowFunctionReturnDescriptor() #
WorkflowFunctionReturnDescriptor() #public WorkflowFunctionReturnDescriptor()
Creates an instance of Workflow.
property Description #
Description #public required string Description { get; init; }
What the function returns.
property Type #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowGraphqlAddressDeclaration( | constructor | Creates an instance of Workflow. |
OperationName | property | The operation to run, for a query document with several. |
Query | property | The GraphQL query. |
Target | property | The GraphQL target, as the transport configuration names it. |
constructor WorkflowGraphqlAddressDeclaration() #
WorkflowGraphqlAddressDeclaration() #public WorkflowGraphqlAddressDeclaration()
Creates an instance of Workflow.
property OperationName #
OperationName #public string? OperationName { get; init; }
The operation to run, for a query document with several.
property Query #
Query #public required string Query { get; init; }
The GraphQL query.
property Target #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowGraphqlRequest( | constructor | Creates an instance of Workflow. |
OperationName | property | The operation to run, for a query document with several. |
Query | property | The GraphQL query. |
Target | property | The GraphQL target, as the transport configuration names it. |
Variables | property | The query variables. |
constructor WorkflowGraphqlRequest() #
WorkflowGraphqlRequest() #public WorkflowGraphqlRequest()
Creates an instance of Workflow.
property OperationName #
OperationName #public string? OperationName { get; init; }
The operation to run, for a query document with several.
property Query #
Query #public required string Query { get; init; }
The GraphQL query.
property Target #
Target #public required string Target { get; init; }
The GraphQL target, as the transport configuration names it.
property Variables #
Variables #public IDictionary<string, object?> Variables { get; init; }
The query variables.
record WorkflowGraphqlResponse
public sealed record WorkflowGraphqlResponse
The answer of the GraphQL transport.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowGraphqlResponse( | constructor | Creates an instance of Workflow. |
Error | property | Why the query failed; not set when it succeeded. |
JsonPayload | property | The response body, as JSON text. |
Succeeded | property | Whether the query succeeded: a success status and no errors array. |
constructor WorkflowGraphqlResponse() #
WorkflowGraphqlResponse() #public WorkflowGraphqlResponse()
Creates an instance of Workflow.
property Error #
Error #public string? Error { get; init; }
Why the query failed; not set when it succeeded.
property JsonPayload #
JsonPayload #public string? JsonPayload { get; init; }
The response body, as JSON text.
property Succeeded #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowGroupExpressionDefinition( | constructor | Creates an instance of Workflow. |
Expression | property | The grouped expression. |
constructor WorkflowGroupExpressionDefinition() #
WorkflowGroupExpressionDefinition() #public WorkflowGroupExpressionDefinition()
Creates an instance of Workflow.
property Expression #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowHttpAddressDeclaration( | constructor | Creates an instance of Workflow. |
Method | property | The HTTP method; POST by default. |
Path | property | The path. |
Target | property | The HTTP target, as the transport configuration names it. |
constructor WorkflowHttpAddressDeclaration() #
WorkflowHttpAddressDeclaration() #public WorkflowHttpAddressDeclaration()
Creates an instance of Workflow.
property Method #
Method #public string Method { get; init; }
The HTTP method; POST by default.
property Path #
Path #public required string Path { get; init; }
The path.
property Target #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowHttpRequest( | constructor | Creates an instance of WorkflowHttpRequest. |
Method | property | The HTTP method; POST by default. |
Path | property | The path, joined to the target address. |
Payload | property | The body, sent as JSON; none when not set. |
Target | property | The HTTP target, as the transport configuration names it. |
constructor WorkflowHttpRequest() #
WorkflowHttpRequest() #public WorkflowHttpRequest()
Creates an instance of WorkflowHttpRequest.
property Method #
Method #public string Method { get; init; }
The HTTP method; POST by default.
property Path #
Path #public required string Path { get; init; }
The path, joined to the target address.
property Payload #
Payload #public object? Payload { get; init; }
The body, sent as JSON; none when not set.
property Target #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowHttpResponse( | constructor | Creates an instance of WorkflowHttpResponse. |
Error | property | Why the call failed; not set when it succeeded. |
JsonPayload | property | The response body, as JSON text. |
StatusCode | property | The status the target answered with, when it answered. |
Succeeded | property | Whether the call succeeded. |
constructor WorkflowHttpResponse() #
WorkflowHttpResponse() #public WorkflowHttpResponse()
Creates an instance of WorkflowHttpResponse.
property Error #
Error #public string? Error { get; init; }
Why the call failed; not set when it succeeded.
property JsonPayload #
JsonPayload #public string? JsonPayload { get; init; }
The response body, as JSON text.
property StatusCode #
StatusCode #public int? StatusCode { get; init; }
The status the target answered with, when it answered.
property Succeeded #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstanceGetRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
WorkflowInstanceId | property | The workflow instance identifier. |
constructor WorkflowInstanceGetRequest() #
WorkflowInstanceGetRequest() #public WorkflowInstanceGetRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public string? ActorId { get; init; }
The acting user. The HTTP endpoints set it from the authenticated caller.
property ActorRoles #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property WorkflowInstanceId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstanceGetResponse( | constructor | Creates an instance of Workflow. |
Instance | property | The instance summary. |
RuntimeState | property | The state the runtime provider keeps for the instance. |
TaskEvents | property | The task events of the instance. |
Tasks | property | The tasks of the instance; their allowed actions are the caller’s. |
WorkflowState | property | The current workflow state. |
constructor WorkflowInstanceGetResponse() #
WorkflowInstanceGetResponse() #public WorkflowInstanceGetResponse()
Creates an instance of Workflow.
property Instance #
Instance #public required WorkflowInstanceSummary Instance { get; init; }
The instance summary.
property RuntimeState #
RuntimeState #public WorkflowRuntimeStateSummary? RuntimeState { get; init; }
The state the runtime provider keeps for the instance.
property TaskEvents #
TaskEvents #public IReadOnlyCollection<WorkflowTaskEventSummary> TaskEvents { get; init; }
The task events of the instance.
property Tasks #
Tasks #public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }
The tasks of the instance; their allowed actions are the caller’s.
property WorkflowState #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstanceProjectionDetails( | constructor | Creates an instance of Workflow. |
Instance | property | The instance. |
TaskEvents | property | The events of its tasks. |
Tasks | property | Its tasks. |
WorkflowState | property | Its state. |
constructor WorkflowInstanceProjectionDetails() #
WorkflowInstanceProjectionDetails() #public WorkflowInstanceProjectionDetails()
Creates an instance of Workflow.
property Instance #
Instance #public required WorkflowInstanceSummary Instance { get; init; }
The instance.
property TaskEvents #
TaskEvents #public IReadOnlyCollection<WorkflowTaskEventSummary> TaskEvents { get; init; }
The events of its tasks.
property Tasks #
Tasks #public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }
Its tasks.
property WorkflowState #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstanceSummary( | constructor | Creates an instance of Workflow. |
ActiveTask | property | The first open (non-completed) task for this instance, if any. |
BusinessReference | property | The business reference of the instance: its key and parts. |
CompletedOnUtc | property | When the instance completed, in UTC; not set while it is open. |
CreatedOnUtc | property | When the instance started, in UTC. |
RuntimeInstanceId | property | The identifier of the instance in its runtime provider. |
RuntimeProvider | property | The runtime provider that runs the instance. |
RuntimeStatus | property | The status the runtime provider reports. |
Status | property | The instance status: Open, Completed or Stale. |
WorkflowInstanceId | property | The workflow instance identifier. |
WorkflowName | property | The workflow name. |
WorkflowState | property | Current workflow state variables. |
WorkflowVersion | property | The workflow version. |
constructor WorkflowInstanceSummary() #
WorkflowInstanceSummary() #public WorkflowInstanceSummary()
Creates an instance of Workflow.
property ActiveTask #
ActiveTask #public WorkflowTaskSummary? ActiveTask { get; init; }
The first open (non-completed) task for this instance, if any.
property BusinessReference #
BusinessReference #public WorkflowBusinessReference? BusinessReference { get; init; }
The business reference of the instance: its key and parts.
property CompletedOnUtc #
CompletedOnUtc #public DateTime? CompletedOnUtc { get; init; }
When the instance completed, in UTC; not set while it is open.
property CreatedOnUtc #
CreatedOnUtc #public DateTime CreatedOnUtc { get; init; }
When the instance started, in UTC.
property RuntimeInstanceId #
RuntimeInstanceId #public string? RuntimeInstanceId { get; init; }
The identifier of the instance in its runtime provider.
property RuntimeProvider #
RuntimeProvider #public string? RuntimeProvider { get; init; }
The runtime provider that runs the instance.
property RuntimeStatus #
RuntimeStatus #public string? RuntimeStatus { get; init; }
The status the runtime provider reports.
property Status #
Status #public string Status { get; init; }
The instance status: Open, Completed or Stale.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The workflow instance identifier.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowState #
WorkflowState #public IDictionary<string, object?> WorkflowState { get; init; }
Current workflow state variables. Empty when not requested or unavailable.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstancesGetRequest( | constructor | Creates an instance of Workflow. |
BusinessReferenceKey | property | Lists only instances with this business key. |
BusinessReferenceParts | property | Lists only instances whose business reference has these parts. |
Filters | property | A client-side table filter collection that a request body may carry. |
IncludeDetails | property | When true, populate ActiveTask and WorkflowState on each instance summary. |
Page | property | Pagination (1-based) alternative that matches the UI table payload convention. |
PageSize | property | See WorkflowInstancesGetRequest.. |
Skip | property | Pagination: rows to skip. |
SortModel | property | Optional sort. |
Status | property | Lists only instances with this status: Open, Completed or Stale. |
Take | property | Pagination: max rows to return. |
WorkflowInstanceId | property | Filter by a single workflow instance ID. |
WorkflowInstanceIds | property | Filter by multiple workflow instance IDs. |
WorkflowName | property | Lists only instances of this workflow. |
WorkflowVersion | property | Lists only instances of this version. |
constructor WorkflowInstancesGetRequest() #
WorkflowInstancesGetRequest() #public WorkflowInstancesGetRequest()
Creates an instance of Workflow.
property BusinessReferenceKey #
BusinessReferenceKey #public string? BusinessReferenceKey { get; init; }
Lists only instances with this business key.
property BusinessReferenceParts #
BusinessReferenceParts #public IDictionary<string, object?> BusinessReferenceParts { get; init; }
Lists only instances whose business reference has these parts.
property Filters #
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 #
IncludeDetails #public bool IncludeDetails { get; init; }
When true, populate ActiveTask and WorkflowState on each instance summary.
property Page #
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 = ( and Take = PageSize, taking precedence over explicit Skip/Take.
property PageSize #
PageSize #public int PageSize { get; init; }
property Skip #
Skip #public int Skip { get; init; }
Pagination: rows to skip. 0 = start from beginning.
property SortModel #
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 #
Status #public string? Status { get; init; }
Lists only instances with this status: Open, Completed or Stale.
property Take #
Take #public int Take { get; init; }
Pagination: max rows to return. 0 = use server default cap.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
Filter by a single workflow instance ID.
property WorkflowInstanceIds #
WorkflowInstanceIds #public IReadOnlyCollection<string> WorkflowInstanceIds { get; init; }
Filter by multiple workflow instance IDs.
property WorkflowName #
WorkflowName #public string? WorkflowName { get; init; }
Lists only instances of this workflow.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowInstancesGetResponse( | constructor | Creates an instance of Workflow. |
Instances | property | The instances of the requested page. |
TotalCount | property | Total number of rows matching the filter (pre-pagination). |
constructor WorkflowInstancesGetResponse() #
WorkflowInstancesGetResponse() #public WorkflowInstancesGetResponse()
Creates an instance of Workflow.
property Instances #
Instances #public IReadOnlyCollection<WorkflowInstanceSummary> Instances { get; init; }
The instances of the requested page.
property TotalCount #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowLicenceNotice( | constructor | Creates an instance of Workflow. |
Case | property | licensed-to, no-licence-file, no-file-loaded, records-not-assessed or no-covering-record. |
CoversVersionsPublishedBefore | property | 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. |
EffectiveDate | property | The effective date of a deciding embedded line (yyyy-MM-dd); otherwise null. |
LicenceFilesNotInForce | property | The licence files that were read and are not in force. |
LicensedCapacity | property | The capacity of the deciding entry, in Designated Workflows; null unless licensed-to, and null for an embedded line, which records unlimited capacity. |
Licensee | property | The licensee display name of the deciding licence line; null unless WorkflowLicenceNotice.is licensed-to. |
Permission | property | The permission of the deciding line, standard-capacity or embedded; null unless licensed-to. |
RecordsInForce | property | The licence records (serials) in force. |
Text | property | The one-line notice, as the log line writes it (fields separated by |). |
VersionScope | property | The version scope of a deciding embedded line, delivered-without-cutoff; otherwise null. |
constructor WorkflowLicenceNotice() #
WorkflowLicenceNotice() #public WorkflowLicenceNotice()
Creates an instance of Workflow.
property Case #
Case #public required string Case { get; init; }
licensed-to, no-licence-file, no-file-loaded, records-not-assessed or no-covering-record.
property CoversVersionsPublishedBefore #
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 #
EffectiveDate #public string? EffectiveDate { get; init; }
The effective date of a deciding embedded line (yyyy-MM-dd); otherwise null.
property LicenceFilesNotInForce #
LicenceFilesNotInForce #public required int LicenceFilesNotInForce { get; init; }
The licence files that were read and are not in force.
property LicensedCapacity #
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 #
Licensee #public string? Licensee { get; init; }
The licensee display name of the deciding licence line; null unless WorkflowLicenceNotice.is licensed-to.
property Permission #
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 #
RecordsInForce #public required int RecordsInForce { get; init; }
The licence records (serials) in force.
property Text #
Text #public required string Text { get; init; }
The one-line notice, as the log line writes it (fields separated by |).
property VersionScope #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowLicenceStatus( | constructor | Creates an instance of Workflow. |
Explanation | property | The licence-status explanation that accompanies the messages. |
Message | property | The factual message of the status. |
Status | property | within-free-limit, above-notice-level, record-matches, count-exceeds-recorded-capacity, embedded-scope-not-established, development-build, no-matching-record or count-unavailable. |
Warns | property | true for a status the engine logs as a warning at startup and hourly (every status but within-free-limit and record-matches). |
constructor WorkflowLicenceStatus() #
WorkflowLicenceStatus() #public WorkflowLicenceStatus()
Creates an instance of Workflow.
property Explanation #
Explanation #public required string Explanation { get; init; }
The licence-status explanation that accompanies the messages.
property Message #
Message #public required string Message { get; init; }
The factual message of the status.
property Status #
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 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowMapStepDeclaration( | constructor | Creates an instance of Workflow. |
Body | property | The steps that run for each item. |
CollectionExpression | property | The collection to map over. |
DeadlineSeconds | property | The deadline of the map in seconds. |
FailurePolicy | property | What a failed item does: FAIL_FAST (the default), COLLECT_PARTIAL or ROUTE_MANUAL. |
FanInPolicy | property | When the map completes: ALL_SUCCEEDED (the default), COLLECT_ALL or MIN_SUCCEEDED. |
GlobalActivityClass | property | A class of activities whose concurrency is limited across all maps. |
ItemKeyExpression | property | The key of an item, evaluated with the item in the state. |
ItemResultExpression | property | The result of an item, evaluated after its body. |
ItemStateKey | property | The state key that holds the current item. |
MaxAggregateStateBytes | property | The size limit of the collected results, in bytes. |
MaxConcurrency | property | The items in flight at once; at most WorkflowMapStepDeclaration.and Workflow. |
MaxItems | property | The items allowed in the collection; at most Workflow. |
MinimumSucceeded | property | The items that must succeed under MIN_SUCCEEDED. |
ResultKey | property | The key the collected results are kept under. |
RetryPolicy | property | The retry policy of an item. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowMapStepDeclaration() #
WorkflowMapStepDeclaration() #public WorkflowMapStepDeclaration()
Creates an instance of Workflow.
property Body #
Body #public WorkflowStepSequenceDeclaration Body { get; init; }
The steps that run for each item.
property CollectionExpression #
CollectionExpression #public required WorkflowExpressionDefinition CollectionExpression { get; init; }
The collection to map over.
property DeadlineSeconds #
DeadlineSeconds #public int? DeadlineSeconds { get; init; }
The deadline of the map in seconds.
property FailurePolicy #
FailurePolicy #public string FailurePolicy { get; init; }
What a failed item does: FAIL_FAST (the default), COLLECT_PARTIAL or ROUTE_MANUAL.
property FanInPolicy #
FanInPolicy #public string FanInPolicy { get; init; }
When the map completes: ALL_SUCCEEDED (the default), COLLECT_ALL or MIN_SUCCEEDED.
property GlobalActivityClass #
GlobalActivityClass #public string? GlobalActivityClass { get; init; }
A class of activities whose concurrency is limited across all maps.
property ItemKeyExpression #
ItemKeyExpression #public required WorkflowExpressionDefinition ItemKeyExpression { get; init; }
The key of an item, evaluated with the item in the state.
property ItemResultExpression #
ItemResultExpression #public required WorkflowExpressionDefinition ItemResultExpression { get; init; }
The result of an item, evaluated after its body.
property ItemStateKey #
ItemStateKey #public required string ItemStateKey { get; init; }
The state key that holds the current item.
property MaxAggregateStateBytes #
MaxAggregateStateBytes #public required int MaxAggregateStateBytes { get; init; }
The size limit of the collected results, in bytes.
property MaxConcurrency #
MaxConcurrency #public required int MaxConcurrency { get; init; }
The items in flight at once; at most WorkflowMapStepDeclaration.and Workflow.
property MaxItems #
MaxItems #public required int MaxItems { get; init; }
The items allowed in the collection; at most Workflow.
property MinimumSucceeded #
MinimumSucceeded #public int? MinimumSucceeded { get; init; }
The items that must succeed under MIN_SUCCEEDED.
property ResultKey #
ResultKey #public string? ResultKey { get; init; }
The key the collected results are kept under.
property RetryPolicy #
RetryPolicy #public WorkflowRetryPolicyDeclaration RetryPolicy { get; init; }
The retry policy of an item.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowModuleInfo( | constructor | Creates an instance of WorkflowModuleInfo. |
ModuleName | property | The module name. |
Version | property | The module version. |
constructor WorkflowModuleInfo() #
WorkflowModuleInfo() #public WorkflowModuleInfo()
Creates an instance of WorkflowModuleInfo.
property ModuleName #
ModuleName #public required string ModuleName { get; init; }
The module name.
property Version #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowNamedExpressionDefinition( | constructor | Creates an instance of Workflow. |
Expression | property | The expression. |
Name | property | The name. |
constructor WorkflowNamedExpressionDefinition() #
WorkflowNamedExpressionDefinition() #public WorkflowNamedExpressionDefinition()
Creates an instance of Workflow.
property Expression #
Expression #public required WorkflowExpressionDefinition Expression { get; init; }
The expression.
property Name #
Name #public required string Name { get; init; }
The name.
record WorkflowNullExpressionDefinition
public sealed record WorkflowNullExpressionDefinition : WorkflowExpressionDefinition
The null value ("$type": "null").
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowNullExpressionDefinition( | constructor | Creates an instance of Workflow. |
constructor WorkflowNullExpressionDefinition() #
WorkflowNullExpressionDefinition() #public WorkflowNullExpressionDefinition()
Creates an instance of Workflow.
record WorkflowNumberExpressionDefinition
public sealed record WorkflowNumberExpressionDefinition : WorkflowExpressionDefinition
A number literal ("$type": "number"); arithmetic is decimal.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowNumberExpressionDefinition( | constructor | Creates an instance of Workflow. |
Value | property | The number, as invariant decimal text. |
constructor WorkflowNumberExpressionDefinition() #
WorkflowNumberExpressionDefinition() #public WorkflowNumberExpressionDefinition()
Creates an instance of Workflow.
property Value #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowObjectExpressionDefinition( | constructor | Creates an instance of Workflow. |
Properties | property | The properties. |
constructor WorkflowObjectExpressionDefinition() #
WorkflowObjectExpressionDefinition() #public WorkflowObjectExpressionDefinition()
Creates an instance of Workflow.
property Properties #
Properties #public IReadOnlyCollection<WorkflowNamedExpressionDefinition> Properties { get; init; }
The properties.
class WorkflowOpenBusinessKeySlot
public static class WorkflowOpenBusinessKeySlot
Rules of the open-business-key slot (StartWorkflowDeduplication.).
Members
| Member | Kind | Summary |
|---|---|---|
AlreadyOpenCode | constant | 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. |
Marker | constant | The stored marker of an instance started with StartWorkflowDeduplication.. |
OpenStatus | constant | The instance status that holds the slot. |
constant AlreadyOpenCode #
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 #
Marker #public const string Marker = "OpenBusinessKey"
The stored marker of an instance started with StartWorkflowDeduplication..
constant OpenStatus #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowPathExpressionDefinition( | constructor | Creates an instance of Workflow. |
Path | property | The dotted path. |
constructor WorkflowPathExpressionDefinition() #
WorkflowPathExpressionDefinition() #public WorkflowPathExpressionDefinition()
Creates an instance of Workflow.
property Path #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRabbitAddressDeclaration( | constructor | Creates an instance of Workflow. |
Command | property | Command-style request and response semantics, for a peer that dispatches on a command name and answers on a reply queue. |
Exchange | property | The exchange. |
RoutingKey | property | The routing key. |
constructor WorkflowRabbitAddressDeclaration() #
WorkflowRabbitAddressDeclaration() #public WorkflowRabbitAddressDeclaration()
Creates an instance of Workflow.
property Command #
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 #
Exchange #public required string Exchange { get; init; }
The exchange.
property RoutingKey #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRabbitCommandDeclaration( | constructor | Creates an instance of Workflow. |
ExpectReply | property | Whether the call waits for the correlated reply; true by default. |
Framing | property | How the message carries the command name; WorkflowRabbitCommandFraming.by default. |
Name | property | The command name the peer dispatches on. |
constructor WorkflowRabbitCommandDeclaration() #
WorkflowRabbitCommandDeclaration() #public WorkflowRabbitCommandDeclaration()
Creates an instance of Workflow.
property ExpectReply #
ExpectReply #public bool ExpectReply { get; init; }
Whether the call waits for the correlated reply; true by default.
property Framing #
Framing #public WorkflowRabbitCommandFraming Framing { get; init; }
How the message carries the command name; WorkflowRabbitCommandFraming.by default.
property Name #
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.
| Value | Description |
|---|---|
Envelope = 0 | The body is an envelope that holds the command name and the payload. |
Header = 1 | The 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
| Member | Kind | Summary |
|---|---|---|
WorkflowRabbitRequest( | constructor | Creates an instance of Workflow. |
Command | property | The command-style semantics of the call, when the address declares them. |
Exchange | property | The exchange to publish to. |
Payload | property | The message body. |
RoutingKey | property | The routing key. |
constructor WorkflowRabbitRequest() #
WorkflowRabbitRequest() #public WorkflowRabbitRequest()
Creates an instance of Workflow.
property Command #
Command #public WorkflowRabbitCommandDeclaration? Command { get; init; }
The command-style semantics of the call, when the address declares them.
property Exchange #
Exchange #public required string Exchange { get; init; }
The exchange to publish to.
property Payload #
Payload #public object? Payload { get; init; }
The message body.
property RoutingKey #
RoutingKey #public required string RoutingKey { get; init; }
The routing key.
record WorkflowRabbitResponse
public sealed record WorkflowRabbitResponse
The answer of the RabbitMQ transport.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRabbitResponse( | constructor | Creates an instance of Workflow. |
Error | property | Why the call failed; not set when it succeeded. |
Payload | property | The reply body of a command that expects a reply. |
Succeeded | property | Whether the call succeeded. |
constructor WorkflowRabbitResponse() #
WorkflowRabbitResponse() #public WorkflowRabbitResponse()
Creates an instance of Workflow.
property Error #
Error #public string? Error { get; init; }
Why the call failed; not set when it succeeded.
property Payload #
Payload #public object? Payload { get; init; }
The reply body of a command that expects a reply.
property Succeeded #
Succeeded #public required bool Succeeded { get; init; }
Whether the call succeeded.
record WorkflowRenderEdgeView
public sealed record WorkflowRenderEdgeView
An edge of a definition diagram.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderEdgeView( | constructor | Creates an instance of Workflow. |
Id | property | The edge identifier. |
Kind | property | The edge kind. |
Label | property | The label. |
SourceNodeId | property | The source node. |
SourcePortId | property | The source port, when the edge leaves a port. |
TargetNodeId | property | The target node. |
TargetPortId | property | The target port, when the edge enters a port. |
constructor WorkflowRenderEdgeView() #
WorkflowRenderEdgeView() #public WorkflowRenderEdgeView()
Creates an instance of Workflow.
property Id #
Id #public required string Id { get; init; }
The edge identifier.
property Kind #
Kind #public string? Kind { get; init; }
The edge kind.
property Label #
Label #public string? Label { get; init; }
The label.
property SourceNodeId #
SourceNodeId #public required string SourceNodeId { get; init; }
The source node.
property SourcePortId #
SourcePortId #public string? SourcePortId { get; init; }
The source port, when the edge leaves a port.
property TargetNodeId #
TargetNodeId #public required string TargetNodeId { get; init; }
The target node.
property TargetPortId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderGraphGetRequest( | constructor | Creates an instance of Workflow. |
IncludeSvg | property | When true, also emits a server-rendered SVG (via StellaOps ElkSharp layout + SVG renderer). |
Version | property | The version; when not set, the code-registered definition, or else the active stored version. |
WorkflowName | property | The workflow name. |
constructor WorkflowRenderGraphGetRequest() #
WorkflowRenderGraphGetRequest() #public WorkflowRenderGraphGetRequest()
Creates an instance of Workflow.
property IncludeSvg #
IncludeSvg #public bool IncludeSvg { get; init; }
When true, also emits a server-rendered SVG (via StellaOps ElkSharp layout + SVG renderer).
property Version #
Version #public string? Version { get; init; }
The version; when not set, the code-registered definition, or else the active stored version.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
record WorkflowRenderGraphGetResponse
public sealed record WorkflowRenderGraphGetResponse
The render graph of a definition.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderGraphGetResponse( | constructor | Creates an instance of Workflow. |
Graph | property | The render graph. |
Source | property | “catalog” when compiled from a code-registered workflow, “store” when compiled from the persistent import store. |
Svg | property | Server-rendered SVG when the request asked for IncludeSvg = true. |
SvgLayoutProvider | property | Layout provider that produced the SVG (e.g. “ElkSharp”). |
Version | property | The version. |
WorkflowName | property | The workflow name. |
constructor WorkflowRenderGraphGetResponse() #
WorkflowRenderGraphGetResponse() #public WorkflowRenderGraphGetResponse()
Creates an instance of Workflow.
property Graph #
Graph #public required WorkflowRenderGraphView Graph { get; init; }
The render graph.
property Source #
Source #public string Source { get; init; }
“catalog” when compiled from a code-registered workflow, “store” when compiled from the persistent import store.
property Svg #
Svg #public string? Svg { get; init; }
Server-rendered SVG when the request asked for IncludeSvg = true. Null otherwise.
property SvgLayoutProvider #
SvgLayoutProvider #public string? SvgLayoutProvider { get; init; }
Layout provider that produced the SVG (e.g. “ElkSharp”). Null when Svg is null.
property Version #
Version #public required string Version { get; init; }
The version.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderGraphView( | constructor | Creates an instance of Workflow. |
Edges | property | The edges. |
Id | property | The graph identifier. |
Nodes | property | The nodes. |
constructor WorkflowRenderGraphView() #
WorkflowRenderGraphView() #public WorkflowRenderGraphView()
Creates an instance of Workflow.
property Edges #
Edges #public required IReadOnlyCollection<WorkflowRenderEdgeView> Edges { get; init; }
The edges.
property Id #
Id #public required string Id { get; init; }
The graph identifier.
property Nodes #
Nodes #public required IReadOnlyCollection<WorkflowRenderNodeView> Nodes { get; init; }
The nodes.
record WorkflowRenderNodeView
public sealed record WorkflowRenderNodeView
A node of a definition diagram.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderNodeView( | constructor | Creates an instance of Workflow. |
Height | property | The node height. |
IconKey | property | The icon of the node, such as task or decision. |
Id | property | The node identifier. |
Kind | property | The node kind, such as Start, End, HumanTask, TransportCall or Decision. |
Label | property | The label. |
ParentNodeId | property | The node that contains this one, when it is nested. |
Ports | property | The ports of the node. |
Route | property | The route of a human task node. |
SemanticKey | property | The name of what the node stands for, such as the task or step name. |
SemanticType | property | What the node stands for, such as Task or Decision. |
TaskType | property | The task type of a human task node. |
Width | property | The node width. |
constructor WorkflowRenderNodeView() #
WorkflowRenderNodeView() #public WorkflowRenderNodeView()
Creates an instance of Workflow.
property Height #
Height #public double Height { get; init; }
The node height.
property IconKey #
IconKey #public string? IconKey { get; init; }
The icon of the node, such as task or decision.
property Id #
Id #public required string Id { get; init; }
The node identifier.
property Kind #
Kind #public required string Kind { get; init; }
The node kind, such as Start, End, HumanTask, TransportCall or Decision.
property Label #
Label #public required string Label { get; init; }
The label.
property ParentNodeId #
ParentNodeId #public string? ParentNodeId { get; init; }
The node that contains this one, when it is nested.
property Ports #
Ports #public IReadOnlyCollection<WorkflowRenderPortView> Ports { get; init; }
The ports of the node.
property Route #
Route #public string? Route { get; init; }
The route of a human task node.
property SemanticKey #
SemanticKey #public string? SemanticKey { get; init; }
The name of what the node stands for, such as the task or step name.
property SemanticType #
SemanticType #public string? SemanticType { get; init; }
What the node stands for, such as Task or Decision.
property TaskType #
TaskType #public string? TaskType { get; init; }
The task type of a human task node.
property Width #
Width #public double Width { get; init; }
The node width.
record WorkflowRenderPortView
public sealed record WorkflowRenderPortView
A port of a diagram node.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderPortView( | constructor | Creates an instance of Workflow. |
Height | property | The port height. |
Id | property | The port identifier. |
Side | property | The side of the node the port is on. |
Width | property | The port width. |
constructor WorkflowRenderPortView() #
WorkflowRenderPortView() #public WorkflowRenderPortView()
Creates an instance of Workflow.
property Height #
Height #public double Height { get; init; }
The port height.
property Id #
Id #public required string Id { get; init; }
The port identifier.
property Side #
Side #public string? Side { get; init; }
The side of the node the port is on.
property Width #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderingRequest( | constructor | Creates an instance of Workflow. |
Format | property | Output format: “svg”, “png”, or “json” (render graph). |
Version | property | Specific version. |
WorkflowName | property | Workflow name to render. |
constructor WorkflowRenderingRequest() #
WorkflowRenderingRequest() #public WorkflowRenderingRequest()
Creates an instance of Workflow.
property Format #
Format #public string Format { get; init; }
Output format: “svg”, “png”, or “json” (render graph).
property Version #
Version #public string? Version { get; init; }
Specific version. Null = active version.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRenderingResponse( | constructor | Creates an instance of Workflow. |
ContentBase64 | property | Rendered content as base64. |
ContentType | property | MIME type: image/svg+xml, image/png, or application/json. |
Format | property | The format: svg, png or json. |
Version | property | The version. |
WorkflowName | property | The workflow name. |
constructor WorkflowRenderingResponse() #
WorkflowRenderingResponse() #public WorkflowRenderingResponse()
Creates an instance of Workflow.
property ContentBase64 #
ContentBase64 #public string? ContentBase64 { get; init; }
Rendered content as base64.
property ContentType #
ContentType #public string? ContentType { get; init; }
MIME type: image/svg+xml, image/png, or application/json.
property Format #
Format #public required string Format { get; init; }
The format: svg, png or json.
property Version #
Version #public required string Version { get; init; }
The version.
property WorkflowName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRepeatStepDeclaration( | constructor | Creates an instance of Workflow. |
Body | property | The steps of one iteration. |
ContinueWhileExpression | property | The condition to run another iteration, evaluated before each one. |
IterationStateKey | property | The state key that holds the iteration number; not kept when not set. |
MaxIterationsExpression | property | The maximum number of iterations. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowRepeatStepDeclaration() #
WorkflowRepeatStepDeclaration() #public WorkflowRepeatStepDeclaration()
Creates an instance of Workflow.
property Body #
Body #public WorkflowStepSequenceDeclaration Body { get; init; }
The steps of one iteration.
property ContinueWhileExpression #
ContinueWhileExpression #public WorkflowExpressionDefinition? ContinueWhileExpression { get; init; }
The condition to run another iteration, evaluated before each one.
property IterationStateKey #
IterationStateKey #public string? IterationStateKey { get; init; }
The state key that holds the iteration number; not kept when not set.
property MaxIterationsExpression #
MaxIterationsExpression #public required WorkflowExpressionDefinition MaxIterationsExpression { get; init; }
The maximum number of iterations.
property StepName #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRequestContractDeclaration( | constructor | Creates an instance of Workflow. |
AllowAdditionalProperties | property | Whether the start request may carry properties the schema does not declare; true by default. |
ContractName | property | CLR type name of the start request. |
Schema | property | JSON Schema describing the start request shape. |
SchemaReference | property | A reference to the schema, as an alternative to WorkflowRequestContractDeclaration.. |
constructor WorkflowRequestContractDeclaration() #
WorkflowRequestContractDeclaration() #public WorkflowRequestContractDeclaration()
Creates an instance of Workflow.
property AllowAdditionalProperties #
AllowAdditionalProperties #public bool AllowAdditionalProperties { get; init; }
Whether the start request may carry properties the schema does not declare; true by default.
property ContractName #
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.instead.
property Schema #
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 #
SchemaReference #public string? SchemaReference { get; init; }
A reference to the schema, as an alternative to WorkflowRequestContractDeclaration..
record WorkflowRequiredModuleDeclaration
public sealed record WorkflowRequiredModuleDeclaration
A function module a workflow needs.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRequiredModuleDeclaration( | constructor | Creates an instance of Workflow. |
ModuleName | property | The module name. |
Optional | property | Whether the workflow can be imported without the module. |
VersionExpression | property | The versions accepted, such as >=1.0.0 (the default). |
constructor WorkflowRequiredModuleDeclaration() #
WorkflowRequiredModuleDeclaration() #public WorkflowRequiredModuleDeclaration()
Creates an instance of Workflow.
property ModuleName #
ModuleName #public required string ModuleName { get; init; }
The module name.
property Optional #
Optional #public bool Optional { get; init; }
Whether the workflow can be imported without the module. A missing required module refuses the import.
property VersionExpression #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRetentionRunRequest( | constructor | Creates an instance of Workflow. |
CompletedOlderThanDays | property | Optional. |
ReferenceUtc | property | The time the retention dates are compared with, in UTC; now when not set. |
RunningOlderThanDays | property | Optional. |
constructor WorkflowRetentionRunRequest() #
WorkflowRetentionRunRequest() #public WorkflowRetentionRunRequest()
Creates an instance of Workflow.
property CompletedOlderThanDays #
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 #
ReferenceUtc #public DateTime? ReferenceUtc { get; init; }
The time the retention dates are compared with, in UTC; now when not set.
property RunningOlderThanDays #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRetentionRunResponse( | constructor | Creates an instance of Workflow. |
ExecutedOnUtc | property | The reference time of the run, in UTC. |
PurgedInstances | property | The instances purged. |
PurgedRuntimeStates | property | The runtime states purged. |
PurgedTaskEvents | property | The task events purged. |
PurgedTasks | property | The tasks purged. |
StaleInstancesMarked | property | The instances marked stale. |
StaleTasksMarked | property | The tasks marked stale. |
constructor WorkflowRetentionRunResponse() #
WorkflowRetentionRunResponse() #public WorkflowRetentionRunResponse()
Creates an instance of Workflow.
property ExecutedOnUtc #
ExecutedOnUtc #public required DateTime ExecutedOnUtc { get; init; }
The reference time of the run, in UTC.
property PurgedInstances #
PurgedInstances #public required int PurgedInstances { get; init; }
The instances purged.
property PurgedRuntimeStates #
PurgedRuntimeStates #public required int PurgedRuntimeStates { get; init; }
The runtime states purged.
property PurgedTaskEvents #
PurgedTaskEvents #public required int PurgedTaskEvents { get; init; }
The task events purged.
property PurgedTasks #
PurgedTasks #public required int PurgedTasks { get; init; }
The tasks purged.
property StaleInstancesMarked #
StaleInstancesMarked #public required int StaleInstancesMarked { get; init; }
The instances marked stale.
property StaleTasksMarked #
StaleTasksMarked #public required int StaleTasksMarked { get; init; }
The tasks marked stale.
record WorkflowRetryPolicyDeclaration
public sealed record WorkflowRetryPolicyDeclaration
How failed map items are retried.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowRetryPolicyDeclaration( | constructor | Creates an instance of Workflow. |
AttemptTimeoutSeconds | property | The timeout of one attempt, in seconds. |
BackoffKind | property | How the delay grows: FIXED (the default), EXPONENTIAL or PROVIDER_HINT. |
InitialDelaySeconds | property | The first delay, in seconds. |
JitterPercent | property | How much the delay varies, in percent. |
MaxSemanticAttempts | property | The attempts allowed, the first included; 1 (no retry) by default. |
MaximumDelaySeconds | property | The delay cap, in seconds; none when 0. |
MaximumProviderHintSeconds | property | The cap of a provider-requested delay, in seconds; positive for PROVIDER_HINT. |
RetryableCategories | property | The failure categories that are retried. |
ReuseBinding | property | Whether a retry keeps the binding of the previous attempt; true by default. |
constructor WorkflowRetryPolicyDeclaration() #
WorkflowRetryPolicyDeclaration() #public WorkflowRetryPolicyDeclaration()
Creates an instance of Workflow.
property AttemptTimeoutSeconds #
AttemptTimeoutSeconds #public int? AttemptTimeoutSeconds { get; init; }
The timeout of one attempt, in seconds.
property BackoffKind #
BackoffKind #public string BackoffKind { get; init; }
How the delay grows: FIXED (the default), EXPONENTIAL or PROVIDER_HINT.
property InitialDelaySeconds #
InitialDelaySeconds #public int InitialDelaySeconds { get; init; }
The first delay, in seconds.
property JitterPercent #
JitterPercent #public int JitterPercent { get; init; }
How much the delay varies, in percent.
property MaxSemanticAttempts #
MaxSemanticAttempts #public int MaxSemanticAttempts { get; init; }
The attempts allowed, the first included; 1 (no retry) by default.
property MaximumDelaySeconds #
MaximumDelaySeconds #public int MaximumDelaySeconds { get; init; }
The delay cap, in seconds; none when 0.
property MaximumProviderHintSeconds #
MaximumProviderHintSeconds #public int MaximumProviderHintSeconds { get; init; }
The cap of a provider-requested delay, in seconds; positive for PROVIDER_HINT.
property RetryableCategories #
RetryableCategories #public IReadOnlyCollection<string> RetryableCategories { get; init; }
The failure categories that are retried.
property ReuseBinding #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowRuntimeStateSummary( | constructor | Creates an instance of Workflow. |
BusinessReference | property | The business reference of the instance: its key and parts. |
CompletedOnUtc | property | When the instance completed, in UTC. |
CreatedOnUtc | property | When the runtime state was created, in UTC. |
LastUpdatedOnUtc | property | When the runtime state last changed, in UTC. |
PurgeAfterUtc | property | When the retention job purges the completed instance, in UTC. |
RuntimeInstanceId | property | The identifier of the instance in its runtime provider. |
RuntimeProvider | property | The runtime provider that runs the instance. |
RuntimeStatus | property | The status the runtime provider reports. |
StaleAfterUtc | property | When the retention job marks the open instance stale, in UTC. |
State | property | The provider’s state of the instance. |
constructor WorkflowRuntimeStateSummary() #
WorkflowRuntimeStateSummary() #public WorkflowRuntimeStateSummary()
Creates an instance of Workflow.
property BusinessReference #
BusinessReference #public WorkflowBusinessReference? BusinessReference { get; init; }
The business reference of the instance: its key and parts.
property CompletedOnUtc #
CompletedOnUtc #public DateTime? CompletedOnUtc { get; init; }
When the instance completed, in UTC.
property CreatedOnUtc #
CreatedOnUtc #public DateTime CreatedOnUtc { get; init; }
When the runtime state was created, in UTC.
property LastUpdatedOnUtc #
LastUpdatedOnUtc #public DateTime LastUpdatedOnUtc { get; init; }
When the runtime state last changed, in UTC.
property PurgeAfterUtc #
PurgeAfterUtc #public DateTime? PurgeAfterUtc { get; init; }
When the retention job purges the completed instance, in UTC.
property RuntimeInstanceId #
RuntimeInstanceId #public required string RuntimeInstanceId { get; init; }
The identifier of the instance in its runtime provider.
property RuntimeProvider #
RuntimeProvider #public required string RuntimeProvider { get; init; }
The runtime provider that runs the instance.
property RuntimeStatus #
RuntimeStatus #public required string RuntimeStatus { get; init; }
The status the runtime provider reports.
property StaleAfterUtc #
StaleAfterUtc #public DateTime? StaleAfterUtc { get; init; }
When the retention job marks the open instance stale, in UTC.
property State #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowServiceMetadata( | constructor | Creates an instance of Workflow. |
DiagramProvider | property | The diagram layout provider, such as ElkSharp. |
ServiceName | property | The service name. |
SupportsCanonicalImportValidation | property | Whether the service validates canonical definitions before an import. |
SupportsCanonicalSchemaInspection | property | Whether the service serves the canonical definition schema. |
SupportsDefinitionInspection | property | Whether the service serves definitions for inspection. |
SupportsInstanceInspection | property | Whether the service serves instances for inspection. |
constructor WorkflowServiceMetadata() #
WorkflowServiceMetadata() #public WorkflowServiceMetadata()
Creates an instance of Workflow.
property DiagramProvider #
DiagramProvider #public required string DiagramProvider { get; init; }
The diagram layout provider, such as ElkSharp.
property ServiceName #
ServiceName #public required string ServiceName { get; init; }
The service name.
property SupportsCanonicalImportValidation #
SupportsCanonicalImportValidation #public bool SupportsCanonicalImportValidation { get; init; }
Whether the service validates canonical definitions before an import.
property SupportsCanonicalSchemaInspection #
SupportsCanonicalSchemaInspection #public bool SupportsCanonicalSchemaInspection { get; init; }
Whether the service serves the canonical definition schema.
property SupportsDefinitionInspection #
SupportsDefinitionInspection #public required bool SupportsDefinitionInspection { get; init; }
Whether the service serves definitions for inspection.
property SupportsInstanceInspection #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowServiceMetadataGetResponse( | constructor | Creates an instance of Workflow. |
Metadata | property | The service metadata. |
constructor WorkflowServiceMetadataGetResponse() #
WorkflowServiceMetadataGetResponse() #public WorkflowServiceMetadataGetResponse()
Creates an instance of Workflow.
property Metadata #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSetStateStepDeclaration( | constructor | Creates an instance of Workflow. |
OnlyIfPresent | property | Whether to set the value only when it is set: not null and not an empty or white-space string. |
StateKey | property | The state key. |
ValueExpression | property | The value. |
constructor WorkflowSetStateStepDeclaration() #
WorkflowSetStateStepDeclaration() #public WorkflowSetStateStepDeclaration()
Creates an instance of Workflow.
property OnlyIfPresent #
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 #
StateKey #public required string StateKey { get; init; }
The state key.
property ValueExpression #
ValueExpression #public required WorkflowExpressionDefinition ValueExpression { get; init; }
The value.
record WorkflowSignalDeadLetterMessage
public sealed record WorkflowSignalDeadLetterMessage
A dead-lettered signal.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalDeadLetterMessage( | constructor | Creates an instance of Workflow. |
Correlation | property | The correlation of the queue message: the signal id. |
DeliveryCount | property | How many times the signal was delivered before it was dead-lettered. |
DueAtUtc | property | When the signal was due, in UTC. |
EnqueuedOnUtc | property | When the message was queued, in UTC. |
ExpectedVersion | property | The runtime-state version the signal was raised against. |
IsEnvelopeReadable | property | Whether the signal envelope could be read. |
OccurredAtUtc | property | When the signal was raised, in UTC. |
Payload | property | The signal payload. |
RawPayloadBase64 | property | The raw message, base64-encoded, when the request asked for it. |
ReadError | property | Why the envelope could not be read. |
RuntimeProvider | property | The runtime provider of the instance. |
SignalId | property | The signal. |
SignalType | property | The signal type. |
WaitingToken | property | The wait the signal resumes, when it targets one. |
WorkflowInstanceId | property | The instance the signal is for. |
constructor WorkflowSignalDeadLetterMessage() #
WorkflowSignalDeadLetterMessage() #public WorkflowSignalDeadLetterMessage()
Creates an instance of Workflow.
property Correlation #
Correlation #public string? Correlation { get; init; }
The correlation of the queue message: the signal id.
property DeliveryCount #
DeliveryCount #public int DeliveryCount { get; init; }
How many times the signal was delivered before it was dead-lettered.
property DueAtUtc #
DueAtUtc #public DateTime? DueAtUtc { get; init; }
When the signal was due, in UTC.
property EnqueuedOnUtc #
EnqueuedOnUtc #public DateTime? EnqueuedOnUtc { get; init; }
When the message was queued, in UTC.
property ExpectedVersion #
ExpectedVersion #public long? ExpectedVersion { get; init; }
The runtime-state version the signal was raised against.
property IsEnvelopeReadable #
IsEnvelopeReadable #public bool IsEnvelopeReadable { get; init; }
Whether the signal envelope could be read.
property OccurredAtUtc #
OccurredAtUtc #public DateTime? OccurredAtUtc { get; init; }
When the signal was raised, in UTC.
property Payload #
Payload #public IReadOnlyDictionary<string, JsonElement> Payload { get; init; }
The signal payload.
property RawPayloadBase64 #
RawPayloadBase64 #public string? RawPayloadBase64 { get; init; }
The raw message, base64-encoded, when the request asked for it.
property ReadError #
ReadError #public string? ReadError { get; init; }
Why the envelope could not be read.
property RuntimeProvider #
RuntimeProvider #public string? RuntimeProvider { get; init; }
The runtime provider of the instance.
property SignalId #
SignalId #public string? SignalId { get; init; }
The signal.
property SignalType #
SignalType #public string? SignalType { get; init; }
The signal type.
property WaitingToken #
WaitingToken #public string? WaitingToken { get; init; }
The wait the signal resumes, when it targets one.
property WorkflowInstanceId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalDeadLetterReplayRequest( | constructor | Creates an instance of Workflow. |
SignalId | property | The dead-lettered signal. |
constructor WorkflowSignalDeadLetterReplayRequest() #
WorkflowSignalDeadLetterReplayRequest() #public WorkflowSignalDeadLetterReplayRequest()
Creates an instance of Workflow.
property SignalId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalDeadLetterReplayResponse( | constructor | Creates an instance of Workflow. |
Replayed | property | Whether the signal was put back; false when no such dead letter exists. |
SignalId | property | The signal. |
SignalType | property | The signal type. |
WasEnvelopeReadable | property | Whether the signal envelope could be read. |
WorkflowInstanceId | property | The instance the signal is for. |
constructor WorkflowSignalDeadLetterReplayResponse() #
WorkflowSignalDeadLetterReplayResponse() #public WorkflowSignalDeadLetterReplayResponse()
Creates an instance of Workflow.
property Replayed #
Replayed #public bool Replayed { get; init; }
Whether the signal was put back; false when no such dead letter exists.
property SignalId #
SignalId #public required string SignalId { get; init; }
The signal.
property SignalType #
SignalType #public string? SignalType { get; init; }
The signal type.
property WasEnvelopeReadable #
WasEnvelopeReadable #public bool WasEnvelopeReadable { get; init; }
Whether the signal envelope could be read.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
The instance the signal is for.
record WorkflowSignalDeadLettersGetRequest
public sealed record WorkflowSignalDeadLettersGetRequest
Lists the dead-lettered signals.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalDeadLettersGetRequest( | constructor | Creates an instance of Workflow. |
Filters | property | A client-side table filter collection that a request body may carry. |
IncludeRawPayload | property | Whether to return the raw message, base64-encoded. |
MaxMessages | property | Hard safety cap on how many messages the underlying driver is allowed to materialise before paging is applied. |
Page | property | Pagination (1-based) alternative that matches the UI table payload convention. |
PageSize | property | See WorkflowSignalDeadLettersGetRequest.. |
SignalId | property | A signal filter. |
SignalType | property | A signal type filter. |
Skip | property | Pagination: rows to skip. |
SortModel | property | Optional sort. |
Take | property | Pagination: max rows to return. |
WorkflowInstanceId | property | An instance filter. |
constructor WorkflowSignalDeadLettersGetRequest() #
WorkflowSignalDeadLettersGetRequest() #public WorkflowSignalDeadLettersGetRequest()
Creates an instance of Workflow.
property Filters #
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 #
IncludeRawPayload #public bool IncludeRawPayload { get; init; }
Whether to return the raw message, base64-encoded.
property MaxMessages #
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.so a slow driver is never asked for an unbounded result set.
property Page #
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 = ( and Take = PageSize, taking precedence over explicit Skip/Take.
property PageSize #
PageSize #public int PageSize { get; init; }
property SignalId #
SignalId #public string? SignalId { get; init; }
A signal filter.
property SignalType #
SignalType #public string? SignalType { get; init; }
A signal type filter.
property Skip #
Skip #public int Skip { get; init; }
Pagination: rows to skip. 0 = start from beginning.
property SortModel #
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 #
Take #public int Take { get; init; }
Pagination: max rows to return. 0 = use WorkflowSignalDeadLettersGetRequest.as the effective cap.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
An instance filter.
record WorkflowSignalDeadLettersGetResponse
public sealed record WorkflowSignalDeadLettersGetResponse
A page of dead-lettered signals.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalDeadLettersGetResponse( | constructor | Creates an instance of Workflow. |
Messages | property | The dead letters of the page. |
TotalCount | property | Total number of rows matching the filter (pre-pagination). |
constructor WorkflowSignalDeadLettersGetResponse() #
WorkflowSignalDeadLettersGetResponse() #public WorkflowSignalDeadLettersGetResponse()
Creates an instance of Workflow.
property Messages #
Messages #public IReadOnlyCollection<WorkflowSignalDeadLetterMessage> Messages { get; init; }
The dead letters of the page.
property TotalCount #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalPumpLastEvent( | constructor | Creates an instance of Workflow. |
ConsumerName | property | The consumer. |
DeliveryCount | property | The delivery attempt. |
DurationMs | property | How long the delivery took, in milliseconds. |
Message | property | The error message, for a failure or a dead letter. |
OccurredOnUtc | property | When it happened, in UTC. |
SignalId | property | The signal. |
SignalType | property | The signal type. |
WorkflowInstanceId | property | The instance. |
constructor WorkflowSignalPumpLastEvent() #
WorkflowSignalPumpLastEvent() #public WorkflowSignalPumpLastEvent()
Creates an instance of Workflow.
property ConsumerName #
ConsumerName #public required string ConsumerName { get; init; }
The consumer.
property DeliveryCount #
DeliveryCount #public int DeliveryCount { get; init; }
The delivery attempt.
property DurationMs #
DurationMs #public long DurationMs { get; init; }
How long the delivery took, in milliseconds.
property Message #
Message #public string? Message { get; init; }
The error message, for a failure or a dead letter.
property OccurredOnUtc #
OccurredOnUtc #public DateTime OccurredOnUtc { get; init; }
When it happened, in UTC.
property SignalId #
SignalId #public string? SignalId { get; init; }
The signal.
property SignalType #
SignalType #public string? SignalType { get; init; }
The signal type.
property WorkflowInstanceId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalPumpStats( | constructor | Creates an instance of Workflow. |
ConcurrencySkipCount | property | The deliveries put back because the instance kept changing under them. |
DeadLetterCount | property | The signals dead-lettered. |
EmptyPollCount | property | The polls that found no signal. |
FailureCount | property | The failed deliveries. |
LastActivityOnUtc | property | When the pump last did anything, in UTC. |
LastDeadLetter | property | The last dead-lettered signal. |
LastDeadLetterOnUtc | property | When a signal was last dead-lettered, in UTC. |
LastFailure | property | The last failed delivery. |
LastFailureOnUtc | property | When a delivery last failed, in UTC. |
LastSuccess | property | The last processed signal. |
LastSuccessOnUtc | property | When a signal was last processed, in UTC. |
ProcessedCount | property | The signals processed. |
SignalsByType | property | The counts by signal type. |
StartedOnUtc | property | When the counting started, in UTC. |
constructor WorkflowSignalPumpStats() #
WorkflowSignalPumpStats() #public WorkflowSignalPumpStats()
Creates an instance of Workflow.
property ConcurrencySkipCount #
ConcurrencySkipCount #public long ConcurrencySkipCount { get; init; }
The deliveries put back because the instance kept changing under them.
property DeadLetterCount #
DeadLetterCount #public required long DeadLetterCount { get; init; }
The signals dead-lettered.
property EmptyPollCount #
EmptyPollCount #public required long EmptyPollCount { get; init; }
The polls that found no signal.
property FailureCount #
FailureCount #public required long FailureCount { get; init; }
The failed deliveries.
property LastActivityOnUtc #
LastActivityOnUtc #public DateTime? LastActivityOnUtc { get; init; }
When the pump last did anything, in UTC.
property LastDeadLetter #
LastDeadLetter #public WorkflowSignalPumpLastEvent? LastDeadLetter { get; init; }
The last dead-lettered signal.
property LastDeadLetterOnUtc #
LastDeadLetterOnUtc #public DateTime? LastDeadLetterOnUtc { get; init; }
When a signal was last dead-lettered, in UTC.
property LastFailure #
LastFailure #public WorkflowSignalPumpLastEvent? LastFailure { get; init; }
The last failed delivery.
property LastFailureOnUtc #
LastFailureOnUtc #public DateTime? LastFailureOnUtc { get; init; }
When a delivery last failed, in UTC.
property LastSuccess #
LastSuccess #public WorkflowSignalPumpLastEvent? LastSuccess { get; init; }
The last processed signal.
property LastSuccessOnUtc #
LastSuccessOnUtc #public DateTime? LastSuccessOnUtc { get; init; }
When a signal was last processed, in UTC.
property ProcessedCount #
ProcessedCount #public required long ProcessedCount { get; init; }
The signals processed.
property SignalsByType #
SignalsByType #public IReadOnlyCollection<WorkflowSignalPumpStatsSignalType> SignalsByType { get; init; }
The counts by signal type.
property StartedOnUtc #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalPumpStatsGetResponse( | constructor | Creates an instance of Workflow. |
Stats | property | The signal pump counts. |
constructor WorkflowSignalPumpStatsGetResponse() #
WorkflowSignalPumpStatsGetResponse() #public WorkflowSignalPumpStatsGetResponse()
Creates an instance of Workflow.
property Stats #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalPumpStatsSignalType( | constructor | Creates an instance of Workflow. |
ConcurrencySkipCount | property | The deliveries put back because the instance kept changing under them. |
DeadLetterCount | property | The signals dead-lettered. |
FailureCount | property | The failed deliveries. |
ProcessedCount | property | The signals processed. |
SignalType | property | The signal type. |
constructor WorkflowSignalPumpStatsSignalType() #
WorkflowSignalPumpStatsSignalType() #public WorkflowSignalPumpStatsSignalType()
Creates an instance of Workflow.
property ConcurrencySkipCount #
ConcurrencySkipCount #public long ConcurrencySkipCount { get; init; }
The deliveries put back because the instance kept changing under them.
property DeadLetterCount #
DeadLetterCount #public required long DeadLetterCount { get; init; }
The signals dead-lettered.
property FailureCount #
FailureCount #public required long FailureCount { get; init; }
The failed deliveries.
property ProcessedCount #
ProcessedCount #public required long ProcessedCount { get; init; }
The signals processed.
property SignalType #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalRaiseRequest( | constructor | Creates an instance of Workflow. |
Payload | property | The signal’s payload; the waiting step keeps it under its result key. |
SignalName | property | The signal name the instance waits for; without it, the signal goes to the instance’s first wait for an external signal. |
WaitingToken | property | The token of a specific wait. |
WorkflowInstanceId | property | The waiting instance. |
constructor WorkflowSignalRaiseRequest() #
WorkflowSignalRaiseRequest() #public WorkflowSignalRaiseRequest()
Creates an instance of Workflow.
property Payload #
Payload #public IDictionary<string, object?> Payload { get; init; }
The signal’s payload; the waiting step keeps it under its result key.
property SignalName #
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 #
WaitingToken #public string? WaitingToken { get; init; }
The token of a specific wait.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The waiting instance.
record WorkflowSignalRaiseResponse
public sealed record WorkflowSignalRaiseResponse
The answer to a raised signal.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowSignalRaiseResponse( | constructor | Creates an instance of Workflow. |
Queued | property | Whether the signal was queued. |
SignalId | property | The queued signal. |
WorkflowInstanceId | property | The instance. |
constructor WorkflowSignalRaiseResponse() #
WorkflowSignalRaiseResponse() #public WorkflowSignalRaiseResponse()
Creates an instance of Workflow.
property Queued #
Queued #public required bool Queued { get; init; }
Whether the signal was queued.
property SignalId #
SignalId #public required string SignalId { get; init; }
The queued signal.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The instance.
record WorkflowSortModel
public sealed record WorkflowSortModel
Server-side sort request for list endpoints. WorkflowSortModel.is 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
| Member | Kind | Summary |
|---|---|---|
WorkflowSortModel( | constructor | Creates an instance of WorkflowSortModel. |
Direction | property | “asc” or “desc”. |
Prop | property | Whitelisted column identifier (e.g. “createdOnUtc”, “workflowName”). |
constructor WorkflowSortModel() #
WorkflowSortModel() #public WorkflowSortModel()
Creates an instance of WorkflowSortModel.
property Direction #
Direction #public string Direction { get; init; }
“asc” or “desc”. Defaults to ascending.
property Prop #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSourceFormatDiagnosticDto( | constructor | Creates an instance of Workflow. |
Code | property | The diagnostic code. |
Location | property | Where in the source, when known. |
Message | property | The message. |
Severity | property | The severity, such as Error. |
constructor WorkflowSourceFormatDiagnosticDto() #
WorkflowSourceFormatDiagnosticDto() #public WorkflowSourceFormatDiagnosticDto()
Creates an instance of Workflow.
property Code #
Code #public required string Code { get; init; }
The diagnostic code.
property Location #
Location #public string? Location { get; init; }
Where in the source, when known.
property Message #
Message #public required string Message { get; init; }
The message.
property Severity #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowStartDeclaration( | constructor | Creates an instance of Workflow. |
InitialSequence | property | The first steps of an instance. |
InitialTaskName | property | A task to open when an instance starts. |
InitializeStateExpression | property | The initial state: an object expression; start.* paths read the start request. |
constructor WorkflowStartDeclaration() #
WorkflowStartDeclaration() #public WorkflowStartDeclaration()
Creates an instance of Workflow.
property InitialSequence #
InitialSequence #public WorkflowStepSequenceDeclaration InitialSequence { get; init; }
The first steps of an instance.
property InitialTaskName #
InitialTaskName #public string? InitialTaskName { get; init; }
A task to open when an instance starts.
property InitializeStateExpression #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowStepDeclaration( | constructor | Creates an instance of Workflow. |
constructor WorkflowStepDeclaration() #
WorkflowStepDeclaration() #protected WorkflowStepDeclaration()
Creates an instance of Workflow.
record WorkflowStepSequenceDeclaration
public sealed record WorkflowStepSequenceDeclaration
A sequence of steps.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowStepSequenceDeclaration( | constructor | Creates an instance of Workflow. |
Steps | property | The steps, run in order. |
constructor WorkflowStepSequenceDeclaration() #
WorkflowStepSequenceDeclaration() #public WorkflowStepSequenceDeclaration()
Creates an instance of Workflow.
property Steps #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowStringExpressionDefinition( | constructor | Creates an instance of Workflow. |
Value | property | The value. |
constructor WorkflowStringExpressionDefinition() #
WorkflowStringExpressionDefinition() #public WorkflowStringExpressionDefinition()
Creates an instance of Workflow.
property Value #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSubWorkflowStepDeclaration( | constructor | Creates an instance of Workflow. |
Invocation | property | The child workflow to run. |
ResultKey | property | The key the child’s result is kept under. |
StepName | property | The step name, shown in diagrams and in result.lastFailure. |
WhenFailure | property | Optional branch run when the child workflow fails or ends in a status other than completed; it reads the failure as result.lastFailure. |
constructor WorkflowSubWorkflowStepDeclaration() #
WorkflowSubWorkflowStepDeclaration() #public WorkflowSubWorkflowStepDeclaration()
Creates an instance of Workflow.
property Invocation #
Invocation #public required WorkflowWorkflowInvocationDeclaration Invocation { get; init; }
The child workflow to run.
property ResultKey #
ResultKey #public string? ResultKey { get; init; }
The key the child’s result is kept under.
property StepName #
StepName #public required string StepName { get; init; }
The step name, shown in diagrams and in result.lastFailure.
property WhenFailure #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSupportedFormatDescriptor( | constructor | Creates an instance of Workflow. |
ContentType | property | The media type. |
DisplayName | property | The display name. |
FileExtension | property | The file extension. |
FormatId | property | The format id, such as canonical-json, canonical-yaml or canonical-bundle. |
IsBinary | property | Whether the content is binary. |
SupportsExport | property | Whether definitions can be exported to the format. |
SupportsImport | property | Whether definitions can be imported from the format. |
constructor WorkflowSupportedFormatDescriptor() #
WorkflowSupportedFormatDescriptor() #public WorkflowSupportedFormatDescriptor()
Creates an instance of Workflow.
property ContentType #
ContentType #public required string ContentType { get; init; }
The media type.
property DisplayName #
DisplayName #public required string DisplayName { get; init; }
The display name.
property FileExtension #
FileExtension #public required string FileExtension { get; init; }
The file extension.
property FormatId #
FormatId #public required string FormatId { get; init; }
The format id, such as canonical-json, canonical-yaml or canonical-bundle.
property IsBinary #
IsBinary #public bool IsBinary { get; init; }
Whether the content is binary.
property SupportsExport #
SupportsExport #public bool SupportsExport { get; init; }
Whether definitions can be exported to the format.
property SupportsImport #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowSupportedFormatsGetRequest( | constructor | Creates an instance of Workflow. |
constructor WorkflowSupportedFormatsGetRequest() #
WorkflowSupportedFormatsGetRequest() #public WorkflowSupportedFormatsGetRequest()
Creates an instance of Workflow.
record WorkflowSupportedFormatsGetResponse
public sealed record WorkflowSupportedFormatsGetResponse
The source formats the server converts.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowSupportedFormatsGetResponse( | constructor | Creates an instance of Workflow. |
Formats | property | The formats. |
constructor WorkflowSupportedFormatsGetResponse() #
WorkflowSupportedFormatsGetResponse() #public WorkflowSupportedFormatsGetResponse()
Creates an instance of Workflow.
property Formats #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskAssignRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
TargetRoles | property | Roles to assign the task to instead of a user. |
TargetUserId | property | The user to assign the task to; the acting user when not set. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskAssignRequest() #
WorkflowTaskAssignRequest() #public WorkflowTaskAssignRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public required string ActorId { get; init; }
The acting user. The HTTP endpoints set it from the authenticated caller.
property ActorRoles #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property TargetRoles #
TargetRoles #public IReadOnlyCollection<string> TargetRoles { get; init; }
Roles to assign the task to instead of a user.
property TargetUserId #
TargetUserId #public string? TargetUserId { get; init; }
The user to assign the task to; the acting user when not set.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
record WorkflowTaskAssignResponse
public sealed record WorkflowTaskAssignResponse
The result of a task assignment.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskAssignResponse( | constructor | Creates an instance of Workflow. |
Assignee | property | The assigned user, when the task is assigned to a user. |
EffectiveRoles | property | The roles that may work the task after the assignment. |
RuntimeRoles | property | The task’s runtime roles after the assignment. |
Status | property | The task status after the assignment. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskAssignResponse() #
WorkflowTaskAssignResponse() #public WorkflowTaskAssignResponse()
Creates an instance of Workflow.
property Assignee #
Assignee #public required string? Assignee { get; init; }
The assigned user, when the task is assigned to a user.
property EffectiveRoles #
EffectiveRoles #public IReadOnlyCollection<string> EffectiveRoles { get; init; }
The roles that may work the task after the assignment.
property RuntimeRoles #
RuntimeRoles #public IReadOnlyCollection<string> RuntimeRoles { get; init; }
The task’s runtime roles after the assignment.
property Status #
Status #public required string Status { get; init; }
The task status after the assignment.
property WorkflowTaskId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskCompleteRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
Payload | property | The answer to the task; the task’s completion steps read it as payload.*. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskCompleteRequest() #
WorkflowTaskCompleteRequest() #public WorkflowTaskCompleteRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public required string ActorId { get; init; }
The acting user. The HTTP endpoints set it from the authenticated caller.
property ActorRoles #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property Payload #
Payload #public IDictionary<string, object?> Payload { get; init; }
The answer to the task; the task’s completion steps read it as payload.*.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
record WorkflowTaskCompleteResponse
public sealed record WorkflowTaskCompleteResponse
The result of a task completion.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskCompleteResponse( | constructor | Creates an instance of Workflow. |
Completed | property | Whether the task was completed. |
NextTasks | property | The tasks the completion opened. |
WorkflowInstanceId | property | The instance the task belongs to. |
WorkflowState | property | The workflow state after the operation. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskCompleteResponse() #
WorkflowTaskCompleteResponse() #public WorkflowTaskCompleteResponse()
Creates an instance of Workflow.
property Completed #
Completed #public required bool Completed { get; init; }
Whether the task was completed.
property NextTasks #
NextTasks #public IReadOnlyCollection<WorkflowTaskSummary> NextTasks { get; init; }
The tasks the completion opened.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
The instance the task belongs to.
property WorkflowState #
WorkflowState #public IDictionary<string, object?> WorkflowState { get; init; }
The workflow state after the operation.
property WorkflowTaskId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskDeclaration( | constructor | Creates an instance of Workflow. |
OnComplete | property | The steps that run when a user completes the task. |
OnTimeout | property | 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.(a BPMN interrupting timer). |
PayloadExpression | property | The payload the task carries to its client. |
RouteExpression | property | The route of the task. |
SingleOpenSlot | property | 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.). |
TaskName | property | The task name. |
TaskRoles | property | The roles that may work the task; the workflow roles when empty. |
TaskType | property | The task type: the form a client shows. |
TimeoutSeconds | property | Optional timeout for the human task in seconds, counted from its activation. |
constructor WorkflowTaskDeclaration() #
WorkflowTaskDeclaration() #public WorkflowTaskDeclaration()
Creates an instance of Workflow.
property OnComplete #
OnComplete #public WorkflowStepSequenceDeclaration OnComplete { get; init; }
The steps that run when a user completes the task.
property OnTimeout #
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.(a BPMN interrupting timer). Requires WorkflowTaskDeclaration..
property PayloadExpression #
PayloadExpression #public required WorkflowExpressionDefinition PayloadExpression { get; init; }
The payload the task carries to its client.
property RouteExpression #
RouteExpression #public required WorkflowExpressionDefinition RouteExpression { get; init; }
The route of the task.
property SingleOpenSlot #
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.). Declared after WorkflowTaskDeclaration.and omitted when null, so definitions without it are unchanged.
property TaskName #
TaskName #public required string TaskName { get; init; }
The task name.
property TaskRoles #
TaskRoles #public IReadOnlyCollection<string> TaskRoles { get; init; }
The roles that may work the task; the workflow roles when empty.
property TaskType #
TaskType #public required string TaskType { get; init; }
The task type: the form a client shows.
property TimeoutSeconds #
TimeoutSeconds #public int? TimeoutSeconds { get; init; }
Optional timeout for the human task in seconds, counted from its activation. Without WorkflowTaskDeclaration.it only sets the task’s deadline.
record WorkflowTaskDescriptor
public sealed record WorkflowTaskDescriptor
A human task a workflow definition declares.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskDescriptor( | constructor | Creates an instance of Workflow. |
Route | property | The route of the task. |
TaskName | property | The task name. |
TaskRoles | property | The roles that may work on the task. |
TaskType | property | The task type: the form a client shows. |
constructor WorkflowTaskDescriptor() #
WorkflowTaskDescriptor() #public WorkflowTaskDescriptor()
Creates an instance of Workflow.
property Route #
Route #public required string Route { get; init; }
The route of the task.
property TaskName #
TaskName #public required string TaskName { get; init; }
The task name.
property TaskRoles #
TaskRoles #public IReadOnlyCollection<string> TaskRoles { get; init; }
The roles that may work on the task.
property TaskType #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskEventSummary( | constructor | Creates an instance of Workflow. |
ActorId | property | The user who caused the event, when one did. |
CreatedOnUtc | property | When the event happened, in UTC. |
EventType | property | What happened to the task. |
Payload | property | The data of the event. |
TaskName | property | The task name. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskEventSummary() #
WorkflowTaskEventSummary() #public WorkflowTaskEventSummary()
Creates an instance of Workflow.
property ActorId #
ActorId #public string? ActorId { get; init; }
The user who caused the event, when one did.
property CreatedOnUtc #
CreatedOnUtc #public DateTime CreatedOnUtc { get; init; }
When the event happened, in UTC.
property EventType #
EventType #public required string EventType { get; init; }
What happened to the task.
property Payload #
Payload #public IDictionary<string, object?> Payload { get; init; }
The data of the event.
property TaskName #
TaskName #public string? TaskName { get; init; }
The task name.
property WorkflowTaskId #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskGetRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskGetRequest() #
WorkflowTaskGetRequest() #public WorkflowTaskGetRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public string? ActorId { get; init; }
The acting user. The HTTP endpoints set it from the authenticated caller.
property ActorRoles #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
record WorkflowTaskGetResponse
public sealed record WorkflowTaskGetResponse
One task.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskGetResponse( | constructor | Creates an instance of Workflow. |
Task | property | The task summary. |
constructor WorkflowTaskGetResponse() #
WorkflowTaskGetResponse() #public WorkflowTaskGetResponse()
Creates an instance of Workflow.
property Task #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskReleaseRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskReleaseRequest() #
WorkflowTaskReleaseRequest() #public WorkflowTaskReleaseRequest()
Creates an instance of Workflow.
property ActorId #
ActorId #public required string ActorId { get; init; }
The acting user. The HTTP endpoints set it from the authenticated caller.
property ActorRoles #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
record WorkflowTaskReleaseResponse
public sealed record WorkflowTaskReleaseResponse
The result of a task release.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskReleaseResponse( | constructor | Creates an instance of Workflow. |
Released | property | Whether the task was released. |
WorkflowTaskId | property | The task identifier. |
constructor WorkflowTaskReleaseResponse() #
WorkflowTaskReleaseResponse() #public WorkflowTaskReleaseResponse()
Creates an instance of Workflow.
property Released #
Released #public required bool Released { get; init; }
Whether the task was released.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
class WorkflowTaskSingleOpenSlot
public static class WorkflowTaskSingleOpenSlot
Rules of the single-open task slot (WorkflowTaskDeclaration.).
Members
| Member | Kind | Summary |
|---|---|---|
AlreadyOpenCode | constant | Safe code of a refused task: another task of the execution already holds the slot. |
MaxLength | constant | The maximum length of a slot. |
IsValid( | method | A slot is an identifier: a letter, then letters, digits, ‘_’, ‘-’ or ‘.’, at most WorkflowTaskSingleOpenSlot.characters. |
constant AlreadyOpenCode #
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 #
MaxLength #public const int MaxLength = 64
The maximum length of a slot.
method IsValid(string) #
IsValid(string) #public static bool IsValid(string? slot)
A slot is an identifier: a letter, then letters, digits, ‘_’, ‘-’ or ‘.’, at most WorkflowTaskSingleOpenSlot.characters.
record WorkflowTaskSummary
public sealed record WorkflowTaskSummary
A human task in a list, a lookup or the result of a start or a completion.
Members
| Member | Kind | Summary |
|---|---|---|
WorkflowTaskSummary( | constructor | Creates an instance of WorkflowTaskSummary. |
AllowedActions | property | The actions the caller may take on the task. |
Assignee | property | The user the task is assigned to; not set while it is unassigned. |
BusinessReference | property | The business reference of the instance: its key and parts. |
CompletedOnUtc | property | When the task was completed, in UTC. |
CreatedOnUtc | property | When the task was opened, in UTC. |
DeadlineUtc | property | The deadline by which the task should be completed. |
EffectiveRoles | property | The roles that may work the task. |
Payload | property | The data the task shows. |
PurgeAfterUtc | property | When the retention job purges the task, in UTC. |
Route | property | The route of the task. |
RuntimeRoles | property | The roles computed when the task was opened; they replace the task roles. |
StaleAfterUtc | property | When the retention job marks the open task stale, in UTC. |
Status | property | The task status: Open, Assigned, Completed, Expired, Cancelled or Stale. |
TaskName | property | The task name, as declared in the workflow. |
TaskRoles | property | The roles the task declares; they replace the workflow roles. |
TaskType | property | The task type: the form a client shows. |
WorkflowInstanceId | property | The instance the task belongs to. |
WorkflowName | property | The workflow name. |
WorkflowRoles | property | The roles of the workflow. |
WorkflowTaskId | property | The task identifier. |
WorkflowVersion | property | The workflow version. |
constructor WorkflowTaskSummary() #
WorkflowTaskSummary() #public WorkflowTaskSummary()
Creates an instance of WorkflowTaskSummary.
property AllowedActions #
AllowedActions #public IReadOnlyCollection<string> AllowedActions { get; init; }
The actions the caller may take on the task.
property Assignee #
Assignee #public string? Assignee { get; init; }
The user the task is assigned to; not set while it is unassigned.
property BusinessReference #
BusinessReference #public WorkflowBusinessReference? BusinessReference { get; init; }
The business reference of the instance: its key and parts.
property CompletedOnUtc #
CompletedOnUtc #public DateTime? CompletedOnUtc { get; init; }
When the task was completed, in UTC.
property CreatedOnUtc #
CreatedOnUtc #public DateTime CreatedOnUtc { get; init; }
When the task was opened, in UTC.
property DeadlineUtc #
DeadlineUtc #public DateTime? DeadlineUtc { get; init; }
The deadline by which the task should be completed. Computed as Created from the task declaration. Null means no deadline — the task runs indefinitely until completed or purged by retention.
property EffectiveRoles #
EffectiveRoles #public IReadOnlyCollection<string> EffectiveRoles { get; init; }
The roles that may work the task.
property Payload #
Payload #public IDictionary<string, object?> Payload { get; init; }
The data the task shows.
property PurgeAfterUtc #
PurgeAfterUtc #public DateTime? PurgeAfterUtc { get; init; }
When the retention job purges the task, in UTC.
property Route #
Route #public required string Route { get; init; }
The route of the task.
property RuntimeRoles #
RuntimeRoles #public IReadOnlyCollection<string> RuntimeRoles { get; init; }
The roles computed when the task was opened; they replace the task roles.
property StaleAfterUtc #
StaleAfterUtc #public DateTime? StaleAfterUtc { get; init; }
When the retention job marks the open task stale, in UTC.
property Status #
Status #public string Status { get; init; }
The task status: Open, Assigned, Completed, Expired, Cancelled or Stale.
property TaskName #
TaskName #public required string TaskName { get; init; }
The task name, as declared in the workflow.
property TaskRoles #
TaskRoles #public IReadOnlyCollection<string> TaskRoles { get; init; }
The roles the task declares; they replace the workflow roles.
property TaskType #
TaskType #public required string TaskType { get; init; }
The task type: the form a client shows.
property WorkflowInstanceId #
WorkflowInstanceId #public required string WorkflowInstanceId { get; init; }
The instance the task belongs to.
property WorkflowName #
WorkflowName #public required string WorkflowName { get; init; }
The workflow name.
property WorkflowRoles #
WorkflowRoles #public IReadOnlyCollection<string> WorkflowRoles { get; init; }
The roles of the workflow.
property WorkflowTaskId #
WorkflowTaskId #public required string WorkflowTaskId { get; init; }
The task identifier.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTasksGetRequest( | constructor | Creates an instance of Workflow. |
ActorId | property | The acting user. |
ActorRoles | property | The roles of the acting user. |
Assignee | property | Lists only tasks assigned to this user. |
BusinessReferenceKey | property | Lists only tasks with this business key. |
BusinessReferenceParts | property | Lists only tasks whose business reference has these parts. |
CandidateRoles | property | Lists only tasks whose effective roles include one of these roles, ignoring case. |
Filters | property | A client-side table filter collection that a request body may carry. |
Page | property | Pagination (1-based) alternative that matches the UI table payload convention. |
PageSize | property | See WorkflowTasksGetRequest.. |
Skip | property | Pagination: rows to skip. |
SortModel | property | Optional sort. |
Status | property | Lists only tasks with this status. |
Take | property | Pagination: max rows to return. |
WorkflowInstanceId | property | Lists only tasks of this instance. |
WorkflowName | property | Lists only tasks of this workflow. |
WorkflowVersion | property | Lists only tasks of this version. |
constructor WorkflowTasksGetRequest() #
WorkflowTasksGetRequest() #public WorkflowTasksGetRequest()
Creates an instance of Workflow.
property ActorId #
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 #
ActorRoles #public IReadOnlyCollection<string> ActorRoles { get; init; }
The roles of the acting user. The HTTP endpoints set them from the authenticated caller.
property Assignee #
Assignee #public string? Assignee { get; init; }
Lists only tasks assigned to this user.
property BusinessReferenceKey #
BusinessReferenceKey #public string? BusinessReferenceKey { get; init; }
Lists only tasks with this business key.
property BusinessReferenceParts #
BusinessReferenceParts #public IDictionary<string, object?> BusinessReferenceParts { get; init; }
Lists only tasks whose business reference has these parts.
property CandidateRoles #
CandidateRoles #public IReadOnlyCollection<string> CandidateRoles { get; init; }
Lists only tasks whose effective roles include one of these roles, ignoring case.
property Filters #
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 #
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 = ( and Take = PageSize, taking precedence over explicit Skip/Take.
property PageSize #
PageSize #public int PageSize { get; init; }
property Skip #
Skip #public int Skip { get; init; }
Pagination: rows to skip. 0 = start from beginning.
property SortModel #
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 #
Status #public string? Status { get; init; }
Lists only tasks with this status.
property Take #
Take #public int Take { get; init; }
Pagination: max rows to return. 0 = use server default cap.
property WorkflowInstanceId #
WorkflowInstanceId #public string? WorkflowInstanceId { get; init; }
Lists only tasks of this instance.
property WorkflowName #
WorkflowName #public string? WorkflowName { get; init; }
Lists only tasks of this workflow.
property WorkflowVersion #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTasksGetResponse( | constructor | Creates an instance of Workflow. |
Tasks | property | The tasks of the requested page. |
TotalCount | property | Total number of rows matching the filter (pre-pagination). |
constructor WorkflowTasksGetResponse() #
WorkflowTasksGetResponse() #public WorkflowTasksGetResponse()
Creates an instance of Workflow.
property Tasks #
Tasks #public IReadOnlyCollection<WorkflowTaskSummary> Tasks { get; init; }
The tasks of the requested page.
property TotalCount #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTerminateForkStepDeclaration( | constructor | Creates an instance of Workflow. |
constructor WorkflowTerminateForkStepDeclaration() #
WorkflowTerminateForkStepDeclaration() #public WorkflowTerminateForkStepDeclaration()
Creates an instance of Workflow.
record WorkflowTimelineResource
public sealed record WorkflowTimelineResource
A page of the history events of a workflow execution.
Parameters
Disposition:OK, orCURSOR_COMPACTEDwhen 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
| Member | Kind | Summary |
|---|---|---|
WorkflowTimelineResource( | constructor | A page of the history events of a workflow execution. |
Disposition | property | OK, or CURSOR_COMPACTED when the events after the requested sequence were compacted away; the page is then empty. |
Events | property | The events. |
HistoryFloorSequence | property | The first history sequence still kept. |
SnapshotSequence | property | The last history sequence when the page was read. |
constructor WorkflowTimelineResource(string, long, long, IReadOnlyList<object>) #
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, orCURSOR_COMPACTEDwhen 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 #
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 #
Events #public IReadOnlyList<object> Events { get; init; }
The events.
property HistoryFloorSequence #
HistoryFloorSequence #public long HistoryFloorSequence { get; init; }
The first history sequence still kept.
property SnapshotSequence #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTimerStepDeclaration( | constructor | Creates an instance of Workflow. |
DelayExpression | property | 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. |
StepName | property | The step name, shown in diagrams. |
constructor WorkflowTimerStepDeclaration() #
WorkflowTimerStepDeclaration() #public WorkflowTimerStepDeclaration()
Creates an instance of Workflow.
property DelayExpression #
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 #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTransportAddressDeclaration( | constructor | Creates an instance of Workflow. |
Alias | property | A name for the address, shown in diagrams. |
constructor WorkflowTransportAddressDeclaration() #
WorkflowTransportAddressDeclaration() #protected WorkflowTransportAddressDeclaration()
Creates an instance of Workflow.
property Alias #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTransportCallStepDeclaration( | constructor | Creates an instance of Workflow. |
Invocation | property | The address and payload of the call. |
ResultKey | property | The key the response is kept under. |
StepName | property | The step name, shown in diagrams and in result.lastFailure. |
TimeoutSeconds | property | Optional per-step timeout in seconds. |
WhenFailure | property | The steps to run when the call fails. |
WhenTimeout | property | The steps to run when the call times out. |
constructor WorkflowTransportCallStepDeclaration() #
WorkflowTransportCallStepDeclaration() #public WorkflowTransportCallStepDeclaration()
Creates an instance of Workflow.
property Invocation #
Invocation #public required WorkflowTransportInvocationDeclaration Invocation { get; init; }
The address and payload of the call.
property ResultKey #
ResultKey #public string? ResultKey { get; init; }
The key the response is kept under.
property StepName #
StepName #public required string StepName { get; init; }
The step name, shown in diagrams and in result.lastFailure.
property TimeoutSeconds #
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 #
WhenFailure #public WorkflowStepSequenceDeclaration? WhenFailure { get; init; }
The steps to run when the call fails.
property WhenTimeout #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowTransportInvocationDeclaration( | constructor | Creates an instance of Workflow. |
Address | property | The address. |
PayloadExpression | property | The payload; none when not set. |
constructor WorkflowTransportInvocationDeclaration() #
WorkflowTransportInvocationDeclaration() #public WorkflowTransportInvocationDeclaration()
Creates an instance of Workflow.
property Address #
Address #public required WorkflowTransportAddressDeclaration Address { get; init; }
The address.
property PayloadExpression #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowUnaryExpressionDefinition( | constructor | Creates an instance of Workflow. |
Operand | property | The operand. |
Operator | property | The operator: not, the only unary operator; names are case-sensitive. |
constructor WorkflowUnaryExpressionDefinition() #
WorkflowUnaryExpressionDefinition() #public WorkflowUnaryExpressionDefinition()
Creates an instance of Workflow.
property Operand #
Operand #public required WorkflowExpressionDefinition Operand { get; init; }
The operand.
property Operator #
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
| Member | Kind | Summary |
|---|---|---|
WorkflowWorkflowInvocationDeclaration( | constructor | Creates an instance of Workflow. |
BusinessReference | property | The business reference of the new instance; none when not set. |
PayloadExpression | property | The start payload; none when not set. |
WorkflowNameExpression | property | The workflow to run. |
WorkflowVersionExpression | property | Its version; the latest when not set. |
constructor WorkflowWorkflowInvocationDeclaration() #
WorkflowWorkflowInvocationDeclaration() #public WorkflowWorkflowInvocationDeclaration()
Creates an instance of Workflow.
property BusinessReference #
BusinessReference #public WorkflowBusinessReferenceDeclaration? BusinessReference { get; init; }
The business reference of the new instance; none when not set.
property PayloadExpression #
PayloadExpression #public WorkflowExpressionDefinition? PayloadExpression { get; init; }
The start payload; none when not set.
property WorkflowNameExpression #
WorkflowNameExpression #public required WorkflowExpressionDefinition WorkflowNameExpression { get; init; }
The workflow to run.
property WorkflowVersionExpression #
WorkflowVersionExpression #public WorkflowExpressionDefinition? WorkflowVersionExpression { get; init; }
Its version; the latest when not set.
namespace StellaOps.Workflow.Contracts.Constants
| Type | Kind | Description |
|---|---|---|
ConstantsClass | class | The string values of the map, retention, outbox and retry settings and states. |
ConstantsClass. | class | Delivery state of a durable outbox message: appended READY, marked PUBLISHED once sent. |
ConstantsClass. | class | The states of a map item. |
ConstantsClass. | class | The fan-in and failure policies of a map step. |
ConstantsClass. | class | The states of a map execution. |
ConstantsClass. | class | Per-instance retention: STANDARD follows the stale/purge schedule; HOLD_ALL keeps history and rows. |
ConstantsClass. | class | How 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
| Member | Kind | Summary |
|---|---|---|
Published | constant | Sent. |
Ready | constant | Appended, not yet sent. |
constant Published #
Published #public const string Published = "PUBLISHED"
Sent.
constant Ready #
Ready #public const string Ready = "READY"
Appended, not yet sent.
class ConstantsClass.MapItemStates
public static class MapItemStates
The states of a map item.
Members
| Member | Kind | Summary |
|---|---|---|
Claimed | constant | Claimed by a worker and running. |
Failed | constant | Failed. |
Partial | constant | Completed partially; counts as succeeded for the fan-in. |
Ready | constant | Not started. |
Skipped | constant | Not started before the map stopped; counts as succeeded for the fan-in. |
Succeeded | constant | Succeeded. |
constant Claimed #
Claimed #public const string Claimed = "CLAIMED"
Claimed by a worker and running.
constant Failed #
Failed #public const string Failed = "FAILED"
Failed.
constant Partial #
Partial #public const string Partial = "PARTIAL"
Completed partially; counts as succeeded for the fan-in.
constant Ready #
Ready #public const string Ready = "READY"
Not started.
constant Skipped #
Skipped #public const string Skipped = "SKIPPED"
Not started before the map stopped; counts as succeeded for the fan-in.
constant Succeeded #
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
| Member | Kind | Summary |
|---|---|---|
AllSucceeded | constant | Fan-in: the map completes when every item succeeded. |
CollectAll | constant | Fan-in: the map completes when every item finished, whatever the outcome. |
CollectPartial | constant | Failure: the map waits for every item, then applies its fan-in policy. |
FailFast | constant | Failure: the first failed item fails the map. |
MinimumSucceeded | constant | Fan-in: the map completes when at least the minimum number of items succeeded. |
RouteManual | constant | Failure: when every item finished and one failed, the map waits for manual handling (ConstantsClass.). |
constant AllSucceeded #
AllSucceeded #public const string AllSucceeded = "ALL_SUCCEEDED"
Fan-in: the map completes when every item succeeded.
constant CollectAll #
CollectAll #public const string CollectAll = "COLLECT_ALL"
Fan-in: the map completes when every item finished, whatever the outcome.
constant CollectPartial #
CollectPartial #public const string CollectPartial = "COLLECT_PARTIAL"
Failure: the map waits for every item, then applies its fan-in policy.
constant FailFast #
FailFast #public const string FailFast = "FAIL_FAST"
Failure: the first failed item fails the map.
constant MinimumSucceeded #
MinimumSucceeded #public const string MinimumSucceeded = "MIN_SUCCEEDED"
Fan-in: the map completes when at least the minimum number of items succeeded.
constant RouteManual #
RouteManual #public const string RouteManual = "ROUTE_MANUAL"
Failure: when every item finished and one failed, the map waits for manual handling (ConstantsClass.).
class ConstantsClass.MapStates
public static class MapStates
The states of a map execution.
Members
| Member | Kind | Summary |
|---|---|---|
Canceled | constant | The map was canceled. |
Completed | constant | The map completed. |
Failed | constant | The map failed. |
Manual | constant | The map waits for manual handling of its failed items. |
Ready | constant | Created; no item has started. |
Running | constant | Items are running. |
constant Canceled #
Canceled #public const string Canceled = "CANCELED"
The map was canceled.
constant Completed #
Completed #public const string Completed = "COMPLETED"
The map completed.
constant Failed #
Failed #public const string Failed = "FAILED"
The map failed.
constant Manual #
Manual #public const string Manual = "MANUAL"
The map waits for manual handling of its failed items.
constant Ready #
Ready #public const string Ready = "READY"
Created; no item has started.
constant Running #
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
| Member | Kind | Summary |
|---|---|---|
HoldAll | constant | Keeps the history and rows. |
Standard | constant | Follows the stale and purge schedule. |
constant HoldAll #
HoldAll #public const string HoldAll = "HOLD_ALL"
Keeps the history and rows.
constant Standard #
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
| Member | Kind | Summary |
|---|---|---|
Exponential | constant | The delay starts at the initial delay and doubles with each retry. |
Fixed | constant | Every retry waits the initial delay. |
ProviderHint | constant | 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. |
constant Exponential #
Exponential #public const string Exponential = "EXPONENTIAL"
The delay starts at the initial delay and doubles with each retry.
constant Fixed #
Fixed #public const string Fixed = "FIXED"
Every retry waits the initial delay.
constant ProviderHint #
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.