LOG.log(Level.FINE, "Target process application '"+processApp.getName()+"' unavailable", e);
}
}
protected void notifyTaskListener(DelegateTask task) throws Exception {
ProcessApplicationReference processApp = Context.getCurrentProcessApplication();
try {
ProcessApplicationInterface processApplication = processApp.getProcessApplication();
TaskListener taskListener = processApplication.getTaskListener();
if(taskListener != null) {
taskListener.notify(task);
} else {
LOG.log(Level.FINE, "Target process application '"+processApp.getName()+"' does not provide a TaskListener.");
}
} catch (ProcessApplicationUnavailableException e) {
// Process Application unavailable => ignore silently
LOG.log(Level.FINE, "Target process application '"+processApp.getName()+"' unavailable", e);
}
}