Re: [rules-users] Rule Compilation error : The Field ... is not visible

2009-04-01 Thread Ashish Soni
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

RE: [rules-users] Rule Compilation error : The Field ... is not visible

2009-04-01 Thread Dave Macpherson
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

Re: [rules-users] Rule Compilation error : The Field ... is not visible

2009-04-01 Thread Mauricio Salatino
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 > >

Re: [rules-users] Rule Compilation error : The Field ... is not visible

2009-04-01 Thread Ingomar Otter
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

[rules-users] Rule Compilation error : The Field ... is not visible

2009-04-01 Thread 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 rule "split line item" when $item : LineItem( grossAmount > 1000 ) then modif