You can only access an array from a ReturnValue or Predicate.
rule
no-loop == true
when
$p:Person(dob==today)
then
$p.setAge( $p.getAge() + 1 )
end
Joj wrote:
hi,
how can we check the elements in a String array for some value, say "ADMIN",
by assigning no-loop = false ?
plz show me a sample rule.
OR
can't we use arrays in the LHS?
OR
plz write a business rule using no-loop = true.
thanx in advance
jojan
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email