<div dir="ltr">You can take a look at &#39;Conditional named consequences&#39; to see if that is what you need: <a href="http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html_single/#releaseNotes_5.5.0_Expert">http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html_single/#releaseNotes_5.5.0_Expert</a><div>

<br></div><div style>Best Regards,</div></div><div class="gmail_extra"><br clear="all"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a></div>


<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 11:45 AM, Bojan Janisch <span dir="ltr">&lt;<a href="mailto:bojan.janisch@scai.fraunhofer.de" target="_blank">bojan.janisch@scai.fraunhofer.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everybody,<br>
<br>
this is my first post and also my first question to you.<br>
I&#39;ve searched the net for quite some hours now, but don&#39;t get any information regarding optionally conditions.<br>
<br>
I&#39;m using drools to annotate some textobjects and I&#39;m stucking with the following rule:<br>
<br>
When there are two named entities, one body side and one anatomy in a text (they&#39;re defined earlier by a textannotating system, so I&#39;m working on annotated objects) and there is a optionally anatomic side (it contains generally something like &quot;lateral&quot; oder &quot;medial&quot; and so on), then generate me a new annotation.<br>


<br>
So up to now I&#39;m on this state:<br>
<br>
Rule &quot;Anatomic Side&quot;<br>
<br>
when<br>
<br>
 $NE1 : NE(Type.contains(&quot;body&quot;))<br>
 $NE2 : NE(Type.contains(&quot;anatomy&quot;))<br>
<br>
 //So here starts the problem<br>
 [$NE3 : NE(Type.contains(&quot;anatomic&quot;))]<br>
<br>
then<br>
 ...<br>
<br>
How can I set a condition as optionally or is there no such way?<br>
<br>
Thanks everyone to who reads this.<br>
Janisch<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>