]
Anton Giertli updated DROOLS-1461:
----------------------------------
Attachment: operators.zip
In operator doesn't work with variable
--------------------------------------
Key: DROOLS-1461
URL:
https://issues.jboss.org/browse/DROOLS-1461
Project: Drools
Issue Type: Bug
Reporter: Anton Giertli
Assignee: Mario Fusco
Attachments: operators.zip
This works just fine:
{code:java}
rule "checkFirstName"
dialect "mvel"
when
Message( message in ( "anton","giertli") )
then
System.out.println("LHS OK");
end
{code}
But rule like this, won't fire:
global java.util.List $myGlobal;
{code:java}
rule "checkFirstName"
dialect "mvel"
when
Message( message in ( $myGlobal) )
then
System.out.println("LHS OK");
end
{code}