AnsweredAssumed Answered

How to get all deployed workflows

Question asked by vire7777 on Nov 26, 2012
Latest reply on Nov 26, 2012 by vire7777
Hi all :)

After a long search in the userguide, i really don't see how to get the deployed workflow list to launch a new process instance.

To deploy you have to :
Deployment deployment = repositoryService.createDeployment()
  .addClasspathResource(workflowFullName)
  .deploy();

To get the full deployed workflow list, you have to :
???

To launch an instance you have to :
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(workflowName);

I know this exists because in the Activiti interface, we can see the entire list of deployed workflows to launch an instance… but how… that's the question
Could someone help me ?

Outcomes