>
> NAME
>
> CONDITION
>
> ACTION
>
>
>
> l :Line
>
>
>
>
>
> eval(!l.getPromos().contains(new Promotion("$param")))
>
> System.out.println("$param");
>
> Rule Name
>
> Number Directors
>
> Warning
>
;
> eval(!l.getPromos().contains(new Promotion("$param")))
>
> System.out.println("$param");
>
> Rule Name
>
> Number Directors
>
> Warning
>
> example1
>
> Hotbuys
>
> Hotbuys missing
>
>
> Hope that helps,
>
> Thomas
>
&g
lto:rules-users-boun...@lists.jboss.org] On Behalf Of groovenarula
Sent: 03 December 2009 06:51
To: rules-users@lists.jboss.org
Subject: [rules-users] Can we use 'from' CE in Decision Tables ?
Hello all, Is it possible to define the follow rule in a decision table : rule
"Activate P
Hello all,
Is it possible to define the follow rule in a decision table :
rule "Activate Promotion"
when
l : Line( )
not ( Promotion ( code == "HOTBUY" ) from l.promos )
then
#do some action
end
The rule above works perfectly for wha