Typed contract
Inputs define the facts a decision requires; outputs define exactly what a caller receives.
Feature guide
Centralize typed, ordered business rules and return consistent outputs to workflows and applications.
Complete feature description
Decision Tables centralize business policy as typed inputs, ordered conditions, and structured outputs. They are designed for logic that changes more often than the surrounding workflow, needs review by process owners, or must behave consistently across several automations.
Each table declares an input contract and an output contract. Rules compare the supplied facts and the first enabled matching rule returns its output values. The explicit no-match result lets the caller handle incomplete policy coverage instead of silently choosing a default.
Workflows map variables into the decision table and receive matched state plus named outputs. Designers can test representative facts directly in the table before connecting it to production processes.
Inputs define the facts a decision requires; outputs define exactly what a caller receives.
Enabled rules are evaluated in order and the first matching rule returns its output values.
Process owners can update policy logic without rebuilding every workflow branch.
Sample facts can be evaluated before connecting the table to runtime workflows.
Have these permissions, assets, and design decisions ready.
These are the values designers configure and the results available after execution. Exact fields can vary by operation, but the runtime contract follows these patterns.
Declare the facts each rule can evaluate.
keystringrequiredStable programmatic input name.
Example: amountlabelstringrequiredDesigner-facing name.
Example: Request amounttypestring | number | boolean | daterequiredControls comparisons and validation.
input schemaarrayTyped contract shown to workflows and test tooling.
Declare the values returned by a matching rule.
keystringrequiredStable output name.
Example: approval_levellabelstringrequiredReadable output label.
typestring | number | boolean | daterequiredExpected result type.
output schemaarrayTyped keys available to downstream workflow nodes.
Match input conditions and return one output object.
conditionsobjectrequiredPer-input operators and comparison values.
outputsobjectrequiredValues returned if the rule matches.
priority / ordernumberrequiredRules are evaluated in displayed order.
enabledbooleanDisabled rules are skipped without deletion.
matchedbooleanTrue when the rule is selected.
matched_ruleidentifierRule used to explain the decision.
outputsobjectTyped result values.
Evaluate sample facts before connecting the table to a workflow.
input valuesobjectrequiredOne value for each required input.
matchedbooleanWhether any rule matched.
outputsobjectReturned values for the sample.
tracerule informationWhich rule produced the result.
Map workflow context into the table and expose outputs.
decision_table_idUUIDrequiredSelected table.
input_mappingsobjectrequiredWorkflow expressions for every table input.
matchedbooleanAvailable for a following branch.
outputsobjectComplete result object.
individual keysworkflow variablesEach output key can be used downstream.
Expected outcome: The workflow receives a consistent approval level and SLA from centrally managed rules.
Add amount:number, risk:string, and preferred_vendor:boolean.
Result: The decision contract is explicit and typed.
Add approval_level:string, sla_hours:number, and auto_approve:boolean.
Result: Every matching rule returns values the workflow understands.
Put the most specific high-risk conditions first, followed by value bands and a fallback rule.
Result: First-match behavior is predictable and reviewable.
Run low-value preferred, high-value, and high-risk samples.
Result: Process owners can verify results before activation.
Map form values into Decision Table and branch on auto_approve or approval_level.
Result: Rule changes take effect without rebuilding the workflow graph.
What designers and operators can do in this product area.
The main operations available in Decision tables.
Decision tables actions
Create stable typed keys for facts and decision results.
Decision tables actions
Configure conditions, output values, enabled state, and first-match order.
Decision tables actions
Evaluate representative inputs and inspect the selected rule and outputs.
Decision tables actions
Map workflow values into the table and expose matched state plus output keys.
Patterns you can adapt to your own operating model.
Calculate approval level and SLA from amount, department, and risk.
Apply consistent eligibility rules across forms, workflows, and API-driven processes.