02-03-2016 06:36 AM
activiti.cfg.xml
a listener class which implements ActivitiEventListener
. This class tests the event type TASK_CREATED for doing some work before the task. But I have two problems :
Task t = ts.createTaskQuery().processInstanceId(event.getProcessInstanceId()).orderByExecutionId().desc().singleResult();
if (t != null)
{
taskId = t.getId();
taskName = t.getName();
}
02-03-2016 08:34 AM
02-05-2016 09:25 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.