157158159160161162163164165166167
// PTasks. if (r instanceof Workflow) { Workflow w = (Workflow) r; Task[] tt = w.tasks(); Link[] ll = w.links(); Hashtable tkeyMap = new Hashtable(); // For each newly created PTask there is an associated key.