[rules-users] not in -Not working
Gopu Shrestha
gshrestha at tmghealth.com
Wed Mar 5 11:20:46 EST 2014
Here is the code snipet.
rule "Validation"
when
$claim: Claim($cos: claimIdentificationInfo.categoryOfService !=null);
$claimId: ClaimIdentification($cos not in ("01","03","04"), $cos.length >0);
then
log.info("Executing Rule: Validation .............");
end
Above code works if
- $cos in ("01","03","04")
-$cos.length
But when I put not in front of in ("not in"), it throws exception like this...
Unable to build constraint as '$cos' is invalid : [Rule name='Validation']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140305/d0d247cc/attachment-0001.html
More information about the rules-users
mailing list