while (eq.size() > 0) {
event = (WfAuditEvent)eq.remove(0);
if ((event instanceof WfStateAuditEvent)
|| (event instanceof ImplCompleteAuditEvent)) {
try {
WfExecutionObject eo = event.source();
if (eo instanceof ExtProcess) {
((ExtProcess)eo).handleAuditEvent (event);
} else if (eo instanceof ExtActivity) {
ExtActivity aAct = (ExtActivity)eo;
aAct.handleAuditEvent (event);