xpdlHandler.setValidation(false);
jaweController.openPackageFromStream(xpdl.getBytes("UTF-8"));
org.enhydra.shark.xpdl.elements.Package pkg = xpdlHandler.getPackageById(packageId);
org.enhydra.shark.xpdl.elements.WorkflowProcess wp = pkg.getWorkflowProcess(processDefId);
GraphController gc = (GraphController) jaweManager.getComponentManager().getComponent("GraphComponent");
gc.selectGraphForElement(wp);
Graph graph = gc.getGraph(wp);
// highlight running activities
if (runningActivityIds != null && runningActivityIds.length > 0) {
graph.clearSelection();