RE: [rules-users] RE: RE: trivial case in xls

2007-08-16 Thread Bin Shen (BA/EDD)
d a method checkNull() to the object and check this method in the rule file. rule "otherwise" when $p : Person( isNew == true ) then retract ($p) end Hope this works !!! :) Bin Shen (BA/EDD) wrote: > > > but, u haven't answered my question. > > i see the grouped

[rules-users] RE: trivial case in xls

2007-08-16 Thread Bin Shen (BA/EDD)
sorry, i used the wrong word "action", instead of "data". take the schema once more to avoid misunderstanding (assume no grouped rows). --- | CONDITION --- object type/| $p

RE: [rules-users] RE: trivial case in xls

2007-08-16 Thread Bin Shen (BA/EDD)
set you are comparing against can be empty. Hope this works for you :) Thanks, Manjax23 Bin Shen (BA/EDD) wrote: > > hi, Manjax, > > have studied the example that u mentioned. > > take the schema as follows: > object type $p : Person > snippet

RE: [rules-users] trivial case in xls

2007-08-16 Thread Bin Shen (BA/EDD)
Subject: Re: [rules-users] trivial case in xls Download the example.zip and there is a sample "ExamplePolicyPricing.xls" and PricingRuleDTExample.java. :) pls read documentation :) Bin Shen (BA/EDD) wrote: > > Hi, all, > > use 4.0.0 GA. > > want to have an xls rule f

[rules-users] trivial case in xls

2007-08-16 Thread Bin Shen (BA/EDD)
Hi, all, use 4.0.0 GA. want to have an xls rule file. i am not sure of how to define the following trivial case in xls. can anybody help? thanx! when $p : Person() then // do something with any person end / Ben