05-14-2012 01:39 AM
05-15-2012 04:15 AM
05-15-2012 05:54 AM
05-15-2012 10:54 AM
05-15-2012 12:04 PM
05-17-2012 03:18 AM
05-18-2012 10:59 AM
@Named
@Stateless
public class EscalationListener {
@Inject
HistoryService historyService;
public void escalate(DelegateExecution execution, String otherTaskId)
throws Exception {
HistoricTaskInstance task = historyService
.createHistoricTaskInstanceQuery()
.processInstanceId(execution.getProcessInstanceId()).
.taskDefinitionKey(otherTaskId).singleResult();
// do some stuff with the task
}
}
<sequenceFlow id="flow13" name="" sourceRef="boundarytimer1" targetRef="servicetask2">
<extensionElements>
<activiti:executionListener event="take" expression="#{escalationListener.escalate(execution, 'usertask2')}"></activiti:executionListener>
</extensionElements>
</sequenceFlow>
05-21-2012 12:01 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.