[jboss-jira] [JBoss JIRA] (DROOLS-1461) In operator doesn't work with variable

Anton Giertli (JIRA) issues at jboss.org
Fri Mar 3 03:46:00 EST 2017


     [ https://issues.jboss.org/browse/DROOLS-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list