Hi,<br><br>I want to use rules which shall generate as a consequence a new java object. The GUI of my application shall display the new generated objekt.<br>but how can the GUI of my application get informed by the rule engine that it has generated a new object (Warning)? And how the GUI or any other java component can access this new generated object from outside?<br>
<br>rule &quot;Value below threshold&quot;<br>&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FactX ( property&nbsp; &lt; threshold)<br>&nbsp;&nbsp;&nbsp; then <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; insert(new Warning( &quot;Under threshold&quot; ) );<br>end<br><br>rule &quot;Value above threshold&quot;<br>
&nbsp;&nbsp;&nbsp; when<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; FactX ( property &gt;= threshold)<br>&nbsp;&nbsp;&nbsp; then <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; insert(new Warning(&quot;Threshold exceeded&quot; ) );<br>end<br><br><br>regards<br>Thomas<br>