07-12-2014 07:22 AM
07-14-2014 12:45 AM
org.activiti.standalone.parsing.BPMNParseHandlerTest
.
public class MailNotificationUserTaskParseHandler extends UserTaskParseHandler {
@Override
protected void executeParse(BpmnParse bpmnParse, UserTask userTask) {
super.executeParse(bpmnParse, userTask);
ActivityImpl activity = findActivity(bpmnParse, userTask.getId());
UserTaskActivityBehavior userTaskActivityBehavior = (UserTaskActivityBehavior) activity.getActivityBehavior();
userTaskActivityBehavior.getTaskDefinition().addTaskListener(TaskListener.EVENTNAME_ASSIGNMENT, new MailNotificationTaskListener());
}
}
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.