I want to know if its possible to attain a process id using a deployments id (or any way for that matter) assuming no processes have been started. i.e none exist in the database.
I am trying to create a dynamic list that contains all deployments currently active, and then when it is clicked on a new process instance can be started.
Is this possible? or am I reaching for the stars :P
Thanks
you can check how is this done inside the jbpm console ng Deployment Unit list. Which basically contains all the deployments. The process definition list is just showing the sum of all the processes inside the deployments.
HTH