// Finalize invokes, if applicable
for (Iterator iter = scInstance.getInvokers().keySet().iterator();
iter.hasNext();) {
State s = (State) iter.next();
if (finalizeMatch(s.getId(), allEvents)) {
Finalize fn = s.getInvoke().getFinalize();
if (fn != null) {
try {
for (Iterator fnIter = fn.getActions().iterator();
fnIter.hasNext();) {
((Action) fnIter.next()).execute(evtDispatcher,
errRep, scInstance, appLog,
step.getAfterStatus().getEvents());
}