Bug 1026883 - Users should be able to display current process execution state
Summary: Users should be able to display current process execution state
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: DT Governance
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: FUTURE
Assignee: Eric Wittmann
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 15:14 UTC by Stefan Bunciak
Modified: 2023-05-15 19:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DTGOV-198 0 Major Open Display jbpm process instance graph in workflow details UI page 2014-08-20 14:12:14 UTC
Red Hat Issue Tracker JBFSWPL-51 0 Major New DTGov workflow console 2014-08-20 14:12:14 UTC

Description Stefan Bunciak 2013-11-05 15:14:00 UTC
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).

Comment 1 Kurt T Stam 2013-11-07 20:06:34 UTC
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.

Comment 2 Eric Wittmann 2014-08-18 16:48:29 UTC
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.

Comment 3 Stefan Bunciak 2014-08-19 07:17:01 UTC
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

Comment 4 Eric Wittmann 2014-08-19 12:29:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.