<div dir="ltr"><p class="">Hello,</p>

<p class=""><span lang="EN-US">I’m still
in the phase of learning the basics with drools. Therefor I created a simplified
problem that I try to realize it with drools:</span></p>

<p class=""><span lang="EN-US">I have
several detectors, each of them measures something and converts it into an
integer value between 1 one 6. Every Minute a new measurement is performed.</span></p>

<p class=""><span lang="EN-US">When a detector
reaches a value of 5 or above, a textfile is created with the name of the
detector as filename and a predefined text as content. When the detector reaches
a value of 3 or less, the texfile is deleted.</span></p>

<p class=""><span lang="EN-US">My problem
is that I’m still “thinking in java” and not yet “thinking in drools”. </span></p>

<p class=""><span lang="EN-US">I guess the
measured values would be facts that I insert (like the key-pressed events in
the pong-example) to the knowledgebase. But now I stumble, I have no idea how
to continue. Could anyone give me a helping hand for the next steps?</span></p>

<p class=""><span lang="EN-US">Thanks in
advance</span></p>

<p class=""><span lang="EN-US">Stefan</span></p></div>