[jboss-user] [jBPM] - Re: Query the workflow process definition
Maciej Swiderski
do-not-reply at jboss.com
Tue Oct 4 14:47:31 EDT 2011
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: Query the workflow process definition"
To view the discussion, visit: http://community.jboss.org/message/630129#630129
--------------------------------------------------------------
Have you tried to use knowledge base to get processes and then cast it to NodeContainer?
Collection<Process> processes = kbase.getProcesses();
for (Process p : processes) {
NodeContainer container = (NodeContainer) p;
// following line should return all nodes in the process - hopefully
container.getNodes();
}
NOTE: It is written by hand the code so it can have some typos... don't have access to my development environment now so was not able to verify that.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630129#630129]
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/20111004/2992b21b/attachment.html
More information about the jboss-user
mailing list