]
Toni Rikkola updated DROOLS-5459:
---------------------------------
Labels: drools-tools guided_rule_editor (was: guided_rule_editor)
Unable to add a formula for Boolean attributes
----------------------------------------------
Key: DROOLS-5459
URL:
https://issues.redhat.com/browse/DROOLS-5459
Project: Drools
Issue Type: Bug
Components: Guided Rule Editor
Affects Versions: 7.38.0.Final
Reporter: Jim West
Assignee: Toni Rikkola
Priority: Major
Labels: drools-tools, guided_rule_editor
Attachments: image-2020-06-30-15-02-18-760.png,
image-2020-06-30-15-04-04-419.png, image-2020-06-30-15-17-34-791.png,
no-formula-for-booleans-kjar.zip
In a Guided Rule:
!image-2020-06-30-15-02-18-760.png|width=634,height=270!
!image-2020-06-30-15-17-34-791.png|width=464,height=235!
Here a Data Object used in this example:
!image-2020-06-30-15-04-04-419.png|width=420,height=207!
The plan was to have an expression like this:
*fact0.setGold( $a.getGold() && $b.getGold() )*
I had to ditch the Guided Rule and write my rule on a drl file.