Thanks Kris for your reply!
To my understanding, the ProcessInstanceLog, NodeInstanceLog and VariableInstanceLog tables entries are commited (as history entries) when a process flow ends or hits an intermediate message event or timer - not during the process flow is running. Until the commit, querying this history log returns empty. My observation could be wrong. In our use case, we want to see the real-time progress of a running process flow before ends or hits the intermediate message event. Can we do this?
BTW, I am using JPAKnowledgeService.newStatefulKnowledgeSession.
Thanks again!
bwj