for those interested the problem was that i misinterpreted ProcessInstance object as something that always gets updated whenever underlying process changes, whereas in fact that's the version of a process obtained at the specific moment. This is especially true while working with persistence. So the bottom line is that in order to check process status the best way to do it is to create ProcessEventListener object and add it to the created session....
similar thread http://comments.gmane.org/gmane.comp.java.drools.user/24622 -- View this message in context: http://drools.46999.n3.nabble.com/completing-persisted-workItem-the-last-in-a-process-doesn-t-complete-a-process-tp2810593p2811574.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
