I am new to jBPM so this question may seem trivial. I need to obtain the list of all the process definitions that are saved on the database. I want to know if there is some method that give it to me. I have searched on the ProcessDefinition class but I don't find it. Anybody know if it is created?
Get first the GraphSession object. From this call the findAllProcessDefinitionVersion() method with the specify name of the BPEL-process definition:
org.jbpm.db.GraphSession graphSession = jbpmContext.getGraphSession();
So i hope it's help.