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&...]