try {
procDefDir = workflowService.processDefinitionDirectory();
procDir = workflowService.processDirectory();
ProcessMgr pmgr = procDefDir.processMgr ("jstests", "testAUK");
WfProcess process
= pmgr.createProcess(new DefaultRequester (workflowService));
process.start();
assertTrue (stateReached (process, "closed.completed"));
String s = (String)process.processContext().get("Result");
assertTrue (s.startsWith("jstests/testAUK "));
procDir.removeProcess(process);