-
Task
-
Resolution: Done
-
Major
-
None
-
7.1, 7.3, 7.4, 7.2, 7.5, 7.6
-
None
-
2019 Week 44-46 (from Okt 28)
-
3
-
+
In RHDM 7.4.x / 7.5.0, there is a limitation of 12 consequence bindings in the LHS of a rule when using the executable model. The following rule results in an error during the rule base compilation:
rule useSumOf when $input : InputDataTypes( $no1Count_1 : no1Count , $no2Count_1 : no2Count , $no3Count_1 : no3Count , $no4Count_1 : no4Count , $no5Count_1 : no5Count , $no6Count_1 : no6Count , $no7Count_1 : no7Count , $no8Count_1 : no8Count , $no9Count_1 : no9Count , $no10Count_1 : no10Count , $no11Count_1 : no11Count , $no12Count_1 : no12Count , firings not contains \"fired\") then $input.setNo12Count(functions.sumOf(new Object[]{$no1Count_1, $no2Count_1, $no3Count_1, $no4Count_1, $no5Count_1, $no6Count_1, $no7Count_1, $no8Count_1, $no9Count_1, $no10Count_1, $no11Count_1, $no12Count_1}).intValue()); $input.getFirings().add("fired"); update($input); end
In 7.5.1, this limitation is being changed to 13 bindings due to RHDM-1130 / DROOLS-4672.
For 7.6.0, the plan is to allow 24 bindings, see RHDM-1133.
These limitations should be listed in the documentation.