[rules-users] Implementing Timers With Drools Persistence Enabled

huionn huionn at gmail.com
Fri Jul 9 09:35:33 EDT 2010


I am a newbie in Drools Flow. I tried your test case and it works after some
modification.

>From my understanding, ksession.getWorkItemManager().completeWorkItem(1,
null); is incorrect.
Persistent WorkItem Id depends on database primary key.
In my test case, i store workItem as instance variable and use its id to
invoke completeWorkItem(workItem.getId(), null)
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Implementing-Timers-With-Drools-Persistence-Enabled-tp923142p954383.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list