<div dir="ltr">Hi.<br><br>After importing the fact model to guvnor i open try to create a new rule.<br><br>in the left side i see the fact model, i click the &quot;+&quot; and get all the members of the fact class (all my members are public).<br>
<br>my question is, why cant i see the methods of the facts class?<br><br>i want to use a method that receives a parameter and returns an answer, then check that answer in the rule and do something accordingly.<br><br>example:<br>
currently my rule look like<br><br>rule &quot;Rule-04&quot;<br>salience 100<br>activation-group &quot;mygrp&quot;<br>    no-loop true<br>    when<br>        d : myFacts( isOne == &quot;false&quot;, isTwo == &quot;true&quot;, hasThree == &quot;true&quot;)      <br>
<br>    then<br>        System.out.println(&quot;Rule 04 activated&quot;);<br>        d.someMethodDone();<br><br><br>i want it to be something like:<br><br>    when<br>
        d : myFacts( isOne == &quot;false&quot;, isTwo == &quot;true&quot;, hasNumber(&quot;three&quot;) == &quot;true&quot;)      <br>
<br>
    then<br>
        System.out.println(&quot;Rule 04 activated&quot;);<br>
        d.someMethodDone();<br><br>i want hasNumber to be a function i give a parameter too and check it return<br><br>how can this be done?<br><br>Thanks.<br>Nadav.<br></div>