cancel
Showing results for 
Search instead for 
Did you mean: 

parallel multi-instance tasks are shown as horizontal lines

plehal
Champ in-the-making
Champ in-the-making
From the user guide "If an activity is multi-instance, this is indicated by three short lines at the bottom of that activity. Three vertical lines indicates that the instances will be executed in parallel, while three horizontal lines indicate sequential execution. "

But parallel multi-instance tasks are shown as horizontal lines in Activiti instead of vertical lines.
3 REPLIES 3

rogerofyan
Champ in-the-making
Champ in-the-making
Yup, I found the same problem as you.
My process do execute parallelly even the diagram shows three horizontal lines in the diagram.

I think it may be a mistake in document, or a bug in the diagram generator.
You'd better submit an issue in the bug tracker.

plehal
Champ in-the-making
Champ in-the-making
It seems to be a bug in drawActivityMarkers function in ProcessDiagramCanvas class. First parameter seems to be flipped to false/true. It should be true/false as shown below.

if (multiInstanceSequential) {
               drawMultiInstanceMarker(true, x, y, width, height);
      } else if (multiInstanceParallel) {
              drawMultiInstanceMarker(false, x, y, width, height);
      }

trademak
Star Contributor
Star Contributor
I fixed it on trunk.

Thanks,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.