Objects produced by a "from" clause that haven't been inserted into Working Memory previously are not facts, let alone events.<br><br>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)?<br>
<br>Not knowing why you do what you do it's difficult to suggest alternatives.<br><br>-W<br><br><br><div class="gmail_quote">On 12 July 2011 18:46, rp2 <span dir="ltr"><<a href="mailto:amanteja@gmail.com">amanteja@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Could someone please provide an answer?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persistence-not-working-tp3158399p3163063.html" target="_blank">http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persistence-not-working-tp3158399p3163063.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>