lanes and groups in Activiti

cancel
Showing results for 
Search instead for 
Did you mean: 
lucastancapiano
Partner

lanes and groups in Activiti

Hi everyone, I have a simple Activiti 5 bpm based on two lanes with id "group1" and "group2" and two user tasks "task1" and "task2", the first in lane "group1" and the other in lane "group2".

I would like to understand better the meaning of the lanes. Do they represent groups? I ask this because I expect that automatically at the start of the process, the activity "task1" is assigned to the users of "group1" without the need to value the "candidateGroups" field. But it doesn't happen.

Should I still value the "candidateGroups" variable in this case? If so, I don't understand the meaning of wool. Are they only used for a graphic scope?

1 Reply
afaust
Master

Re: lanes and groups in Activiti

Swimlanes are used only for visual documentation to make process diagrams easier to read for end-users - they have no impact on the runtime of a process, and process modelling must ensure (via assignments / candidates) that the behaviour is actually consistent with the graphical representation.