[jboss-user] [jBPM] - Re: Basic API Question
Francesco Pietrobelli
do-not-reply at jboss.com
Thu Sep 8 11:33:00 EDT 2011
Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] created the discussion
"Re: Basic API Question"
To view the discussion, visit: http://community.jboss.org/message/625558#625558
--------------------------------------------------------------
Hi Diogo,
you can use the method
Collection<NodeInstance> getNodeInstances()
for example:
import org.jbpm.workflow.instance.WorkflowProcessInstance;
WorkflowProcessInstance processInstance=(WorkflowProcessInstance)ksession.startProcess("processId");
Collection<NodeInstance> currentNodeInstances=processInstance.getNodeInstances();
in collection currentNodeInstances you'll find all active nodes of processInstance!
I have answered your question?
Francesco
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/625558#625558]
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/20110908/98a68d5e/attachment.html
More information about the jboss-user
mailing list