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.
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
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
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
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users