Glossary

A shared vocabulary for OrchestFlowAI. If you find a term used inconsistently, fix it here and in the relevant doc.

TermMeaning
WorkflowA named, versioned graph of nodes and edges representing a business process.
Workflow VersionAn immutable snapshot of a workflow definition. Only one version per workflow is active at a time.
Workflow DefinitionThe JSON document describing nodes, edges, configuration, and inputs/outputs.
Workflow ExecutionA single run of a workflow with concrete inputs. Has its own lifecycle (Queued → Running → …).
NodeA reusable, stateless component that performs work — AI call, document operation, condition, approval, …
Node TypeGlobally unique id like ai.contract-risk-analysis.
Node DescriptorStatic metadata describing a node (display name, inputs, outputs, configuration schema).
Node ExecutionA single execution of a node within a workflow execution.
EdgeA directed connection between two nodes. May carry a boolean condition and an input mapping.
Input / Output (Port)Typed data ports declared by a node descriptor.
ConfigurationPer-instance settings declared in the workflow JSON for a node.
EngineThe runtime that loads, validates, and executes workflow definitions.
WorkerThe background service that picks up executions and drives the engine.
AI RuntimeThe provider-agnostic LLM layer (prompts, structured outputs, usage tracking).
ProviderAn LLM backend (OpenAI, Azure OpenAI, Anthropic, local, …).
Approval RequestA pending human decision attached to a paused node execution.
TenantAn isolated organization in the multi-tenant system. All data is scoped to a tenant.
Audit LogAppend-only record of security-relevant events.
AI Usage LogA row recording provider, model, tokens, and cost for one LLM call.
Correlation IDAn id that ties together logs/traces/metrics across services for a single logical action.
Prompt VersionVersioned identifier of a prompt template; stored with every LLM call.
Document Reference (DocumentRef)A typed pointer to an uploaded document: { documentId, mimeType, sizeBytes }.
Structured OutputLLM output validated against a JSON schema; preferred for business decisions.
Human-in-the-Loop (HITL)Workflow pattern in which a human review/approval is required to proceed.
Idempotency KeyOptional client-provided key on mutating requests to prevent duplicates.
Pause / ResumeEngine ability to suspend a workflow waiting for an external signal (approval, timer) and continue later.
Composition RootThe service (Api/Worker) that wires DI; thin and free of business logic.