if (event.activityKey() != null) {
actLocal = (ExtActivityLocal)
proc.activityByKeyLocal (event.activityKey());
}
if (activityHandles) {
actLocal.handleAuditEvent (event);
}
if (processHandles) {
((ExtProcessLocal)proc).handleAuditEvent (event);
}
if (logger.isDebugEnabled()) {