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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.