camunda-process-test-coverage icon indicating copy to clipboard operation
camunda-process-test-coverage copied to clipboard

Show count for elements if executed more than once (e.g. loops)

Open berndruecker opened this issue 7 years ago • 3 comments

Whenever you execute a loop in a diagram it would be awesome to see the number of executions on elements

berndruecker avatar Oct 13 '17 15:10 berndruecker

Loops:

screen shot 2018-06-12 at 11 11 08 am

Notice the counts on the two Multi-Instance processes. Will be the same if you were to manually create a loop.

The filter removes MultiInstanceBody activity types

Can also add the same logic to Sequence Flows. But obviously will start to get messy. So a better UI option would be preferable.

StephenOTT avatar Jun 12 '18 15:06 StephenOTT

We also discussed loops. The kind of using badges holding each element's count is not intuitive to read. The way we colored tasks successful executed is excellent to catch the progress even at the very first second of looking on it. But it lacks in the context of loops. Maybe you find a better solution which is good in both situations.

stephanpelikan avatar Jun 12 '18 15:06 stephanpelikan

Ya i coloured them as well (but yes it need a better visual indicator for what the numbers represent):

screen shot 2018-06-12 at 11 29 17 am

and with still running user task:

screen shot 2018-06-12 at 11 29 50 am

Still need to add some printouts for the counts on the running activities, but the base is in place.

For visuals i was thinking of adding a few interactive check boxes/feature toggles next to the BPMN-js to allow someone to turn those extra visuals on and off so they have the proper context. Otherwise, for me, it just becomes a big junky visual with 1001 visuals jammed into the diagram.

Also: likely the 1 count instances can be dropped, and only show counts where it is > 1

StephenOTT avatar Jun 12 '18 15:06 StephenOTT