JBoss Community

listing active processes in a persisted and resumed ksession

created by Jason Wu in jBPM - View the full discussion

Hello,

  I'm trying to test out persistence with jbpm and so I have a StatefulKnowledgeSession that I have enabled persistence for.  I run a few processes that have userTasks and are waiting for the user to complete and then I gracefully shutdown the setup.  I bring it back up and load the previous sessionid to get a new StatefulKnowledgeSession.  I now want to see all running processes, mainly the processes that are currently waiting on a userTask but were started in the previous run.  How can I get this information from the ksession?

Reply to this message by going to Community

Start a new discussion in jBPM at Community