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.


On Wed, Sep 23, 2009 at 6:46 AM, Kris Verlaenen <kris.verlaenen@cs.kuleuven.be> wrote:
Kevin,

Could you also post your process, so I can take a look and if necessary
try it out locally to see what is going on?

Kris

Quoting Kevin Alonso <kalonso@vicomtech.org>:

> Hello,
> I´m working with a simple flow that has a  Event Wait node. This node
>
> has the following condition:
> - Person()
>
> Being Person a class that is not inserted into the session yet.
>
> When the flow arrives to the event wait node its execution stops and
> the
> test main class execution continues. Here I insert a Person object to
>
> the session, so now, the flow can continue. After wait node I have a
>
> Split node, which has the followings constraints:
>
> - Person()
>
> - not Person()
>
> The flow always take the not Person() way. But now a Person instance
> is
> into the session.
>
> Why is happening this?
>
> Could anyone help me?
>
> Thank you,
> Kevin
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -