This content has been marked as final.
Show 1 reply
-
1. Re: How to query on deployed process definitions?
swiderski.maciej Aug 30, 2013 12:14 PM (in response to fellowtom)process definitions are not stored in data base especially that you don't need to have data base to run processes. These are runtime resources so that means it's up to your application to deploy what assets you need when you start an application. Once it's started you can get available process instance from the build environment
RuntimeEnvironment.getKieBase().getProcesses().
You can do the same from already active RuntimeManager but you need to cast it additionally to get environment from it:
((InternalRuntimeManager)runtimeManager).getEnvironment().getKieBase().getProcesses()
HTH