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(a)gmail.com> wrote:
Could someone please provide an answer?
--
View this message in context:
http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persis...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users