This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
BPEL Process Instances View shows all the process instances executing in a BPEL Engine while debugging. Please see the current BPEL Process Instance View snapshot in attachment. Process Instance can be in one of the following states: RUNNING, SUSPENDED, COMPLETED, FAULTED, UNKNOWN. Process instances in RUNNING and SUSPENDED states can be set as Current. Process instance becomes current when it reaches a breakpoint or user manually sets it as Current. There can be only one current Process Instance. Current process instance is displayed with the bold font. Process instances are being executed by Branches which are similar to Java Threads. For any RUNNING or SUSPENDED process instance there's at least one top-level Branch. Branches can spawn child branches. As thus, any RUNNING or SUSPENDED process instance is a root of a tree of branches. Current process instance can have one of its branches set as Current. Current Branch is supposed to be represented in bold. For now Branches are not visualized in Process Instances View and this is to be improved. The icons that are currently used are taken from Java Threads View which is not appropriate. We need the following icons: 1) Menu icon for BPEL Process Instances View (see "process.gif" for currently used icon) 2) Node icon for RUNNING Process Instance (see "running.gif" for currently used icon) 3) Node icon for RUNNING Process Instance which is Current (see "current.gif" for currently used icon). 4) Node icon for SUSPENDED Process Instance 5) Node icon for SUSPENDED Process Instance which is Current 5) Node icon for FAULTED Process Instance 6) Node icon for COMPLETED Process Instance 7) Node icon for Process Instance in UNKNOWN state 8) Node icon for Branch 9) Node icon for Branch which is current
Created attachment 36915 [details] BPEL Process Instances View
Created attachment 36916 [details] Node icon for current process instance
Created attachment 36917 [details] Menu icon for BPEL Process Instances View
Created attachment 36918 [details] Node icon for running process instance
Created attachment 36919 [details] Node icon for suspended process instance
Created attachment 36920 [details] Node icon for current process instance
I'm attaching new icon for BPEL process instances view menu item. More to come ... assigning to me.
Created attachment 37980 [details] BPEL process instances view menu item icon
As we have postponed the issue 91508 (BPEL Debugger should visualize concurrent branches) it's not necessary to provide the icons for branches for 5.5.1 release..
... but the new icons for process instances are still required..
So I got deeper into this and a realized that the states are not that clear to me. What is the semantics of "suspended"? Is an explicitly suspended process - and will be suspended until I explicitly resume it? Or is it only related to debugging (i.e. process waiting for "step over" action? And then what is the semantics of UKNOWN state? Does it mean that the IDE is broken? Or ... what? And what are the available user actions? Can it get back to running? As for FAULTED or COMPLETED - is there any way to get the FAULT or COMPLETED result? If not, why would we show them at all?
Need to address in Sierra.
Changed target milestone from Sierra to 6.1 in order to display correct info on NB 6.1 dashboard
Not essential issue. Just nice to have.