12-11-2014 10:53 AM
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}
12-12-2014 04:39 AM
+-> B ->
| |
Start -> A -+ + -> End
| |
+-> C -+
Which one is first/last?12-12-2014 04:50 AM
12-16-2014 04:32 AM
12-16-2014 04:33 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.