[jboss-user] [jBPM] - Re: How to get current node of process

Esteban Aliverti do-not-reply at jboss.com
Tue Aug 23 09:38:44 EDT 2011


Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: How to get current node of process"

To view the discussion, visit: http://community.jboss.org/message/622397#622397

--------------------------------------------------------------
You have to use a little bit of "magical casting":   ProcessInstance process = ksession.startProcess("some.process");  //To get the name of the first node where the process is waiting: ((org.jbpm.workflow.instance.WorkflowProcessInstance)process).getNodeInstances().iterator().next().getNodeName()WorkflowProcessInstance
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/622397#622397]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110823/9aef19c7/attachment-0001.html 


More information about the jboss-user mailing list