Person() is not a function, (I suppose that Person() is the already inserted fact), but the comment of Jary is ok, because you need to insert a function inside the constraint.<br><br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 6:46 AM, Kris Verlaenen <span dir="ltr">&lt;<a href="mailto:kris.verlaenen@cs.kuleuven.be">kris.verlaenen@cs.kuleuven.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Kevin,<br>
<br>
Could you also post your process, so I can take a look and if necessary<br>
try it out locally to see what is going on?<br>
<br>
Kris<br>
<div><div></div><div class="h5"><br>
Quoting Kevin Alonso &lt;<a href="mailto:kalonso@vicomtech.org">kalonso@vicomtech.org</a>&gt;:<br>
<br>
&gt; Hello,<br>
&gt; I´m working with a simple flow that has a  Event Wait node. This node<br>
&gt;<br>
&gt; has the following condition:<br>
&gt; - Person()<br>
&gt;<br>
&gt; Being Person a class that is not inserted into the session yet.<br>
&gt;<br>
&gt; When the flow arrives to the event wait node its execution stops and<br>
&gt; the<br>
&gt; test main class execution continues. Here I insert a Person object to<br>
&gt;<br>
&gt; the session, so now, the flow can continue. After wait node I have a<br>
&gt;<br>
&gt; Split node, which has the followings constraints:<br>
&gt;<br>
&gt; - Person()<br>
&gt;<br>
&gt; - not Person()<br>
&gt;<br>
&gt; The flow always take the not Person() way. But now a Person instance<br>
&gt; is<br>
&gt; into the session.<br>
&gt;<br>
&gt; Why is happening this?<br>
&gt;<br>
&gt; Could anyone help me?<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Kevin<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></div>Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
<div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>