I am using activiti 6 APIs where I am able to deploy a particular process using the following code:
<code> RepositoryService repositoryService = processEngine.getRepositoryService();
repositoryService.createDeployment()
.addClasspathResource("processes/createIndent_fourapproval.bpmn20.xml")
.deploy(); <code>
Now I am trying to fetch all the tasks part of the process before even creating a process instance. Is there a method or API to achieve this.
Any pointers or suggestions will be helpful.
Regards,
Ankit