<a href="http://www.nabble.com/file/7054/Exception_for_ExampleOptions.txt" target="_top">Exception_for_ExampleOptions.txt</a><a href="http://www.nabble.com/file/7055/ExampleOptions.drl" target="_top">ExampleOptions.drl</a><a href="http://www.nabble.com/file/7056/ProcessRuleHelper.java" target="_top">ProcessRuleHelper.java</a>

I am using drools 3.0.5.I  am tying to call a function named "getJobRequestOptions" which accepts a parameter object of type IValueObject.

My LHS looks like this :

<lhs>
<column identifier='dto' object-type='ProcessRuleDTO' />
<column identifier='jri' object-type='IValueObject' />
<b><eval>getJobRequestOptions(jri)!=null</eval></b>
<eval>getJobRequestOptions(jri).hasOption(JobRequestOptions.OptionType.ENDORSEMENTS )</eval>
</lhs>

However when I try to run the program I  get the following Exception :

<b>org.drools.rule.InvalidRulePackage: Rule Compilation error The method getJobRequestOptions(IValueObject) is undefined for the type Rule_Tests_for_Endorsement_0</b>

Thanks
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Method-undefined-exception-when-calling-from-LHS-tf3373943.html#a9389001">Method undefined exception when calling from LHS</a><br>
Sent from the <a href="http://www.nabble.com/drools---user-f11823.html">drools - user mailing list archive</a> at Nabble.com.<br>