[rules-users] Issue with compiling a drool rule

Shah, Malay Malay.Shah at morganstanley.com
Fri Sep 4 18:15:27 EDT 2009


Hi,
 
I am trying to compile the following drl rule as getting this error
while using PackageBuilder:
 
Rule:
 
package Stc-1
 
import quickfix.iedt.fixMS.UPR.PortfBlockEntry.PortfOrderEntry;
import quickfix.iedt.fixMS.UPR.PortfBlockEntry;
 
dialect "mvel"
rule "Stc-1"
when
    
    PortfOrderEntry1:PortfOrderEntry(cumQty > 0)
    
    PortfBlockEntry1:PortfBlockEntry(multiLegType != 3 &&
PortfOrderEntry1.parentOID == entityOID  && PortfOrderEntry1.parentVID
== entityVID )
    
then
    .........
end
 
Error:
[1,11]: unknown:1:11 required (...)+ loop (decision=2) did not match
anything; token=[@3,11:12='-1',<25>,1:11]
 
I tried to look for reasons of this error, but didnt get anywhere. I
don't see any issue with the rule. Am I missing something obvious here?
I am using jboss-rules 4.0.1.     
 
Thanks
 
Malay Shah
Morgan Stanley | IDEAS Practice Areas
750 Seventh Avenue, 6th Floor | New York, NY  10019
Phone: +1 212 762-4495
Malay.Shah at morganstanley.com

 

--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090904/56b3eac5/attachment.html 


More information about the rules-users mailing list