Ah right, I for creating Motion I use:

Object getMotion( KnowledgeBase kbase, long time) {
  FactType motionType = kbase.getFactType( "com.sample", "Motion" );
  Object motion = motionType.newInstance();
  motionType.set( motion, "eventTime", time );
  return motion;
}

Do you want me to attach Eclipse project?


--
View this message in context: 
http://drools.46999.n3.nabble.com/Odd-rules-execution-for-expired-events-tp4018092p4018096.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to