= workflowService().processDefinitionDirectory ();
ProcessDirectory procDir = workflowService().processDirectory ();
ProcessMgr pmgr = procDefDir.processMgr("ut-process", "dataItemLookup");
Collection oldProcs = pmgr.processes();
for (Iterator i = oldProcs.iterator(); i.hasNext ();) {
procDir.removeProcess ((Process)i.next());
}
// Create some processes, first with null data item
WfProcess null1 = pmgr.createProcess(req);
WfProcess null2 = pmgr.createProcess(req);