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
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
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
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
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