act in working memory if
> you want to trigger additional rules based on this update
> end
>
>
>
> *From:* rules-users-boun...@lists.jboss.org [mailto:
> rules-users-boun...@lists.jboss.org] *On Behalf Of *Ashish Soni
> *Sent:* April-01-09 9:40 AM
> *To:* Rules Users Lis
memory if
you want to trigger additional rules based on this update
end
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ashish Soni
Sent: April-01-09 9:40 AM
To: Rules Users List
Subject: [rules-users] Rule Compilation error : The Field ... is
Are you using MVEL dialect or Java dialect?
if you are using Java Dialect you should try with:
modify( $item ) { setGrossAmount(500) }
2009/4/1 Ashish Soni
> Hi All ,
>
> I am sure there must be a silly mistake but i am not able to find out ,
> please help me as what is wrong in below rule
>
>
can you post the code LineItem.java?
Am 01.04.2009 um 17:39 schrieb Ashish Soni:
Hi All ,
I am sure there must be a silly mistake but i am not able to find
out ,
please help me as what is wrong in below rule
package Test
import com.abc.api.document.Document
import com.abc.api.line.LineItem
Hi All ,
I am sure there must be a silly mistake but i am not able to find out ,
please help me as what is wrong in below rule
package Test
import com.abc.api.document.Document
import com.abc.api.line.LineItem
rule "split line item"
when
$item : LineItem( grossAmount > 1000 )
then
modif