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
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users