06-13-2014 09:33 AM
<serviceTask id="Initialisation" name="Initialisation" activiti:class="acoss.activiti.DelegateInitialisation"></serviceTask>
public class DelegateInitialisation implements JavaDelegate
{
@Override
public void execute(DelegateExecution de) throws Exception
{
String processId = de.getProcessInstanceId();
TaskService tkService = de.getEngineServices().getTaskService();
List<Task> ltasks = tkService.createTaskQuery().processInstanceId(processId).list();
for (Task task : ltasks)
{
System.out.println(task.getId());
}
}
}
06-16-2014 05:26 AM
06-16-2014 05:44 AM
06-16-2014 05:47 AM
06-27-2014 08:13 AM
06-27-2014 08:35 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.