I dont understand which node of the process you are looking for. You can probably use the following code :
readKnowledgeBase(processName); // custom method to read knowledge baseprocess = kbase.getProcess(processDefId);
try
{
List<NodeInstanceLog> nodeInstanceLogList;
for (Node node : (Node[])((WorkflowProcessImpl) process).getNodes())
{
// You have the node object. DO whatever you want with it.
}
}
catch(Exception e)
{
CustomExceptionHandler.handleException(e);
}