Description of problem: Current state of art doesn't provide a user friendly way of displaying which task of DTGov workflow is being executed. Such functionality is provided in the jBPM console. Proposal: Display which process has been started (if any) for each deployment (e.g. separate tab in deployment details) and current process state (picture showing task which is being executed).
Hi Eric, 1. To get a list of processInstances in the session see the ProcessBean public Collection<ProcessInstance> listProcessInstances() There is still a jsp out there http://localhost:8080/dtgov/process?processId=1 which you can use to get that info printed out to the log. 2. Also to start an instance right from a jsp see http://localhost:8080/dtgov/startProcess.jsp 3. I don't think there is an easy way to get a graph anymore.
This functionality is included in the version of DTGov that is included in FSW 6.1. The only part we have been unable to implement is the actual graph. We believe this functionality is missing from the latest version of jbpm. Perhaps we can open a separate BZ for this? What we *do* have implemented is a DTGov UI page (admin only) that shows all of the workflow instances that have been created and the current status (running, completed, aborted, etc) of each workflow instance. Users can also abort a running workflow.
I've seen the workflow admin page in the latest community release. I have to admit that it's a big step forward, however this BZ is about monitoring exact node in the process execution. Let's imagine more complex workflow than the SimpleReleaseProcess, user needs to see where the process execution is and what is it waiting for... Maybe we could reuse jbpm-gwt[1] component from jBPM itself. [1] https://github.com/mswiderski/jbpm/tree/master/jbpm-gwt/jbpm-gwt-graph
I agree that showing the process graph would be a big win. I was under the impression that jbpm no longer exposed that functionality, but I haven't investigated that to confirm. I've created a jira for this and linked it to this BZ.