yes, in the mapping use an &quot;eval (... your code here ...)&quot; and you can take the mapping from the DSL sentence. <br><br><div><span class="gmail_quote">On 2/28/07, <b class="gmail_sendername">kingston</b> &lt;<a href="mailto:raja_kingston@yahoo.co.in">
raja_kingston@yahoo.co.in</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br><br>Is it possible to write a rule in DSL to check for a value that is returned
<br>by a calls to a java method in the Condition part ?<br><br>Are there any sample codes for using eval in DSL Syntax or for calling java<br>methods ?<br><br><br><br>--<br>View this message in context: <a href="http://www.nabble.com/DSL---Calling-Java-Method-%2C-Eval-functions-tf3307311.html#a9199397">
http://www.nabble.com/DSL---Calling-Java-Method-%2C-Eval-functions-tf3307311.html#a9199397</a><br>Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________
<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users
</a><br></blockquote></div><br>