[rules-users] Temporal reasoning with external persistence not working

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jul 12 13:20:44 EDT 2011


Objects produced by a "from" clause that haven't been inserted into Working
Memory previously are not facts, let alone events.

As the presented code shows, the timestamp of event User should be set by
Drools when the fact is inserted. Frist, with "from" it isn't inserted at
all, and second, if it were inserted, what timestamp would it receive - the
time it was taken from session.getUserByIndex(0)?

Not knowing why you do what you do it's difficult to suggest alternatives.

-W


On 12 July 2011 18:46, rp2 <amanteja at gmail.com> wrote:

> Could someone please provide an answer?
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persistence-not-working-tp3158399p3163063.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110712/bdeb310f/attachment.html 


More information about the rules-users mailing list