This content has been marked as final.
Show 2 replies
-
1. Re: How to read a process definition in jbpm 5.4?
swiderski.maciej Feb 28, 2013 12:30 PM (in response to bardelman)1 of 1 people found this helpfulnot sure what you try to do. Do you want to get get process definition represented with objects? If you you can get it from KnowledgeBase once it's built. from kbase you can get all available processes and by iterating over it you can find one that interests you. Once you have it you can get Node objects out of Process and thus gathering all required information.
HTH
P.S.
better is to place user questions on user forum (parent to this one) and this was used mainly by development team but it is not any more so no too much attention here.
-
2. Re: How to read a process definition in jbpm 5.4?
bardelman Mar 1, 2013 2:56 AM (in response to swiderski.maciej)That's it ! i was looking for this :
WorkflowProcess process = (WorkflowProcess) ksession.getKnowledgeBase().getProcess(processId);
Thank U.