As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
processDefinition = (ProcessDefinitionEntity) ((RepositoryServiceImpl) ProcessEngines .getDefaultProcessEngine() .getRepositoryService()) .getDeployedProcessDefinition(processDefinitionId); if (processDefinition != null) { for (ActivityImpl activity : processDefinition.getActivities()) { String type = (String) activity.getProperty("type"); if(type.equals("userTask")){ String myTaskId = (String) activity.getId(); String myTaskDocumentation = (String) activity.getProperty("documentation"); allTasks.put(myTaskId, myTaskDocumentation); } } }
{task1=this is 1, task3=this is 3, task4=this is 4, Task2=this is 2}
<br> +-> B -> <br> | |<br>Start -> A -+ + -> End<br> | |<br> +-> C -+ <br>