09-19-2014 01:59 AM
<userTask id="auditPhase1" name="Audit Phase 1">
<extensionElements>
<activiti:field name="actions" stringValue="Approve,Reject,Reprocess" />
</extensionElements>
</userTask>
ProcessInstance processInstance = getProcessInstance(dataId);
BpmnModel model = getBpmnModelForProcessDefinition(processInstance.getProcessDefinitionId());
List<TaskDetail> taskDetails = Lists.newArrayList();
for(Object obj : model.getMainProcess().getFlowElements()) {
if(obj instanceof ServiceTask) {
ServiceTask serviceTask = (ServiceTask)obj;
taskDetails.add(new TaskDetail(serviceTask));
} else if(obj instanceof UserTask) {
UserTask userTask = (UserTask)obj;
taskDetails.add(new TaskDetail(userTask));
}
}
09-19-2014 02:37 AM
09-19-2014 08:38 AM
09-19-2014 04:02 PM
<userTask id="usertask" name="Task" activiti:candidateGroups="dummy">
<extensionElements>
<activiti:newExtensionElement/>
} else if (inExtensionElements) {
ExtensionElement extensionElement = BpmnXMLUtil.parseExtensionElement(xtr);
parentElement.addExtensionElement(extensionElement);
}
09-22-2014 12:45 AM
09-23-2014 06:54 AM
09-24-2014 12:36 AM
09-24-2014 12:55 AM
09-24-2014 02:03 AM
09-25-2014 02:49 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.