// now find not completed/not started activities and/or abandon
Collection openActs = new ArrayList ();
for (Iterator i = activitiesOfBlockActivity
(toi.activity.toString ()).iterator (); i.hasNext ();) {
ExtActivityLocal a = (ExtActivityLocal)i.next ();
if (a.typedState().isSameOrSubState(OpenState.RUNNING)
|| a.typedState().isSameOrSubState(NotRunningState.SUSPENDED)) {
openActs.add (a);
// complete this if deadline is synchronous
if (dl.getExecution() == Deadline.SYNCHR) {
a.initiateAbandoning(true, dl.getExceptionName());