[jboss-dev-forums] [jBPM Development] - Re: Couldn't retrieve the node name for the process instance in JBPM 5.0.0

roxy1987 do-not-reply at jboss.com
Tue Feb 19 18:51:50 EST 2013


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&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130219/62ac992c/attachment.html 


More information about the jboss-dev-forums mailing list