Hello guys! This is my first question for the list. I've defined a function in my DRL file to evaluate if a user can do a specific operation in my system. This function returns a boolean result. My question is if I can use this function in the test of LHS.
<br><br>For example:<br><br>rule &quot;Cliente pode alugar&quot;<br>&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; eval(teste)<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println(&quot;XXXXXX&quot;);<br>&nbsp;end<br><br><br>function boolean teste( ) {<br>&nbsp;&nbsp;&nbsp; return true;
<br>}<br><br><br>Please, if anybody has some help, send me.<br><br>Thanks!<br>Rafael Alcemar<br>