Camunda Modeler: 5.50.1
Camunda Run: 8.9.9
Reference files:
BusinessRules.bpmn (3.0 KB) (business process that just invokes the Decision)
DiscountCalculation_New.dmn (9.0 KB)
Test input for the Business process:
{
"InputAccountCableTenure" : 4,
"InputAccountStreamingTenure" : 2,
"InputPurchaseAmount" : 1800
}
Decision model:
The data type for decision Account Level is not explicitly set; as there is no assignment, the displayed type defaults to “Any”.
This Decision returns 2 values.
Account Level is stored in accountLevel
Account Grade is stored in accountGrade
The top level Decision uses only accountLevel:
With this setup everything works fine and the expected account level is passed to the dependent Decision:
But if I explicitly set the return type of the Account Level decision to Any, what generates a “variable” element in the XML representation of the decision:
<decision id="Decision_0ihwrs3" name="Account Level">
<variable id="InformationItem_0a08w3d" name="Account Level" typeRef="Any" />
And run the process again:
The value of accountLevel is not read by the decision “Discount Calculation” despite the fact that the decision “Account Level” generated the output as expected:
If I go to the XML representation of the decision “Account Level” and remove the element
<variable id="InformationItem_0a08w3d" name="Account Level" typeRef="Any" />
Everything works fine again.
Sorry for the long topic but as I don’t have an enterprise account I can raise defects so I thought it would be better to include as much information as possible here.





