Hi,
If you want to retrieve all nodes of the process (besides the active ones ; i guess you try to display a percentage of completion or at what stage of the process you're at ....) you can use the KnowledgeBase object and getProcess(..) , cast to WorkflowProcess and call getNodes().