ProcessDefinitionDirectory procDefDir = null;
ProcessDirectory procDir = null;
try {
procDefDir = workflowService.processDefinitionDirectory();
procDir = workflowService.processDirectory();
ProcessMgr pmgr = procDefDir.processMgr ("jstests", "testAbandon");
WfProcess process
= pmgr.createProcess(new DefaultRequester (workflowService));
process.start();
assertTrue (stateReached (process, "closed.completed"));
for (Iterator i = process.activitiesInState("closed").iterator ();