roxy1987 [
https://community.jboss.org/people/roxy1987] created the discussion
"Re: Couldn't retrieve the node name for the process instance in JBPM
5.0.0"
To view the discussion, visit:
https://community.jboss.org/message/798444#798444
--------------------------------------------------------------
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);
}
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/798444#798444]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]