JBoss Community

Re: Jbpm 5 listing processes

created by Maciej Swiderski in jBPM - View the full discussion

so you want to list processes or process instances?

 

for processes use kBase.getProcesses()

 

for process instances you should enable history log and then use query methods to get active process instances from log entries as (you already noticed) runtime will load process instance only when it's needed - while it being executed.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community