10-02-2012 07:45 AM
public class MyListener implements ExecutionListener {
public void notify(DelegateExecution execution) throws Exception {
// do something
}
}
public class MyParseListener extends AbstractBpmnParseListener {
private MyListener listener = new MyListener();
public void parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity) {
activity.addExecutionListener(PvmEvent.EVENTNAME_START, listener, 0);
activity.addExecutionListener(PvmEvent.EVENTNAME_END, listener);
}
}
10-03-2012 04:00 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.