private WfActivity getActivity(String key) throws WfException {
Iterator i = getIteratorStep();
while (i.hasNext()) {
WfActivity a = (WfActivity) i.next();
if (a.key().equals(key))
return a;
}
throw new WfException("Activity not an active member of this process");
}