-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
5.5.0.Final
-
None
I have a something like following in DSL
[when] There is an employee
{employee} in Delhi = Employee(key == "{employee}")
Address( zip == "110018")
[when] - address area is neat and clean = neat == true
I created a business rule and added DSL using editor, the view source shows following snippet:
when
Employee(key == "Deep" , neat == true)
Address( zip == "110018")
then
end
it is adding sub-condition , neat == true, to the wrong statement. In guvnor 5.2 this is done on last statement in the given rule.
So it should have been:
when
Employee(key == "Deep")
Address( zip == "110018" , neat == true)
then
end
I think it should find the last ) in the statements and put sub-condition there.