cancel
Showing results for 
Search instead for 
Did you mean: 

Swimlanes in Activiti

cookie-exploit
Champ in-the-making
Champ in-the-making
Hello Guys,

is it possible to use swimlanes in Activiti processes?


Greetz cookie-exploit
7 REPLIES 7

frederikherema1
Star Contributor
Star Contributor
You can use multiple lanes within a process, but they are solely used as visual indication. Unlike the JBPM "swim lanes", the BPMN lanes do not influence the tasks' assignee.

iam
Champ in-the-making
Champ in-the-making
It is possible to use lane name.
It is possible to add method "getLaneName" or "getLaneId" to the execution and then use it in task as assignee:
${execution.getLaneName()}I've implemented it in my local test and it works.
I'll be contribute this as soon as possible.

frederikherema1
Star Contributor
Star Contributor
@iam: I'm curious how you've implemented this solution, so keep me posted on this.

@cookie-explooit: But for the moment (5.10), it's not possible to do this…

frederikherema1
Star Contributor
Star Contributor
@iam: I'm curious how you've implemented this solution, so keep me posted on this.

@cookie-explooit: But for the moment (5.10), it's not possible to do this… You can access the LaneSet's on the ProcessDefinitionImpl and their Lanes (inkling all flownodes inside that lane), but it's not exposed by the API-classes.

iam
Champ in-the-making
Champ in-the-making
I'm curious how you've implemented this solution, so keep me posted on this.
Yeah. But I don't know why it's impossible attach "diff" there for me…

Lane consists FlowNodeIds - activityIds.
On initialize ExecutionEntity we can define laneSets and lane from definition and we know what activityId execution it is.
And add getters for Execution.

iam
Champ in-the-making
Champ in-the-making
:arrow: ACT-1400

cookie-exploit
Champ in-the-making
Champ in-the-making
I hope this will be added to the next Activiti version. Smiley Happy