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 "Value below threshold"<br> when<br> FactX ( property < threshold)<br> then <br> insert(new Warning( "Under threshold" ) );<br>end<br><br>rule "Value above threshold"<br>
when<br> FactX ( property >= threshold)<br> then <br> insert(new Warning("Threshold exceeded" ) );<br>end<br><br><br>regards<br>Thomas<br>