]
Michael Anstis commented on DROOLS-713:
---------------------------------------
*drools/drools-workbench-models*
(master)
Guvnor/BRMS not converting freeform DRL val == $var + 1 correctly
-----------------------------------------------------------------
Key: DROOLS-713
URL:
https://issues.jboss.org/browse/DROOLS-713
Project: Drools
Issue Type: Bug
Affects Versions: 6.2.0.CR4
Reporter: Daniel Daniel
Assignee: Michael Anstis
Priority: Minor
Here is a shorter version of my rule:
rule "X"
agenda-group "MyGroup"
salience 900
when
$bundle : MyClass($protocolSequence : protocolSequence)
eval($protocolSequence != null)
$followupBundle : MyClass(protocolSequence == $protocolSequence + 1)
then
...
end
When I save in BRMS's UI, it shows the "protocolSequence == $protocolSequence +
1" condition incorrectly.
It just shows [protocolSequence] [equal to] [Choose...]
And the Choose... dropdown gives me the names of my variables.
The source tab shows the correct DRL at least. So it is probably just a cosmetic issue,
but it does mean I can only modify the rule using freeform DRL, which is not good for when
I hand it over to the business users.