Write a decision table
set_decision_tableCreates a DMN decision table or replaces an existing decision’s table in the BPMN diagram, optionally linking it to a task that should call the decision.
Instructions
Creates a DMN decision with its decision table, or replaces the table of an existing decision (decisionId), in the decision model kept in the diagram file. A new decision gets one input data per input in the requirements diagram. linkTo links a task to it (a plain task becomes a business rule task, linked for Camunda 8 too). Entries are FEEL: "-" or an empty string for any value; text values may be given without quotes when the type is string. Returns the decision id and the findings on the table.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"inputs": "<inputs>",
"outputs": "<outputs>",
"rules": "<rules>"
},
"name": "set_decision_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Decision name, in business words, for example "Assess the credit risk" | |
| rules | Yes | ||
| inputs | Yes | ||
| linkTo | No | Id of the task that calls this decision | |
| outputs | Yes | ||
| hitPolicy | No | Default UNIQUE | |
| decisionId | No | Id of an existing decision to replace its table; omit to create a decision | |
| aggregation | No | With COLLECT only |