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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to