Swimlanes seem to be ignored

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2013 06:27 AM
Hi,
when I deploy the following process in Activiti Explorer it is deployed but I don't see the swimlanes in the process picture and when I start the process the swimlanes seem to be ignored. I'm using activiti 5.12.1. Are swimlanes currently supported?
Here is my process definition:
Thanks,
Mike
when I deploy the following process in Activiti Explorer it is deployed but I don't see the swimlanes in the process picture and when I start the process the swimlanes seem to be ignored. I'm using activiti 5.12.1. Are swimlanes currently supported?
Here is my process definition:
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test"> <collaboration id="Collaboration"> <participant id="pool1" name="Pool" processRef="process_pool1"></participant> </collaboration> <process id="process_pool1" name="process_pool1" isExecutable="true"> <laneSet id="laneSet_process_pool1"> <lane id="Management" name="Management"> <flowNodeRef>startevent1</flowNodeRef> <flowNodeRef>usertask1</flowNodeRef> </lane> <lane id="Marketing" name="Marketing"> <flowNodeRef>usertask3</flowNodeRef> <flowNodeRef>endevent1</flowNodeRef> </lane> </laneSet> <startEvent id="startevent1" name="Start"></startEvent> <userTask id="usertask1" name="Create New Product"></userTask> <sequenceFlow id="flow2" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow> <sequenceFlow id="flow3" sourceRef="usertask1" targetRef="usertask3"></sequenceFlow> <userTask id="usertask3" name="Verify Product" activiti:async="true"></userTask> <endEvent id="endevent1" name="End"></endEvent> <sequenceFlow id="flow4" sourceRef="usertask3" targetRef="endevent1"></sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_Collaboration"> <bpmndi:BPMNPlane bpmnElement="Collaboration" id="BPMNPlane_Collaboration"> <bpmndi:BPMNShape bpmnElement="pool1" id="BPMNShape_pool1"> <omgdc:Bounds height="520.0" width="500.0" x="110.0" y="70.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="management" id="BPMNShape_management"> <omgdc:Bounds height="260.0" width="480.0" x="130.0" y="70.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="marketing" id="BPMNShape_marketing"> <omgdc:Bounds height="260.0" width="480.0" x="130.0" y="330.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"> <omgdc:Bounds height="35.0" width="35.0" x="180.0" y="198.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1"> <omgdc:Bounds height="71.0" width="145.0" x="320.0" y="180.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3"> <omgdc:Bounds height="55.0" width="105.0" x="310.0" y="390.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"> <omgdc:Bounds height="35.0" width="35.0" x="470.0" y="400.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2"> <omgdi:waypoint x="215.0" y="215.0"></omgdi:waypoint> <omgdi:waypoint x="320.0" y="215.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"> <omgdi:waypoint x="392.0" y="251.0"></omgdi:waypoint> <omgdi:waypoint x="362.0" y="390.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4"> <omgdi:waypoint x="415.0" y="417.0"></omgdi:waypoint> <omgdi:waypoint x="470.0" y="417.0"></omgdi:waypoint> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram></definitions>
Thanks,
Mike
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2013 08:08 AM
No, swimlanes are indeed not generated by the Activiti process diagram generator
The cheesy answer would of course be we welcome any contribution. I won't do that.
The cheesy answer would of course be we welcome any contribution. I won't do that.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2014 03:31 AM
i need demo example of swimlanes (pool,lanes)….because i new in activiti i find it but i am not getting example of pool and lanes…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2013 03:19 PM
Hi,
thanks for your answer. Perhaps my question was not precise enough. What I actually was interested in is whether swimlanes are supported by the Activiti engine itself?
Thanks,
Mike
thanks for your answer. Perhaps my question was not precise enough. What I actually was interested in is whether swimlanes are supported by the Activiti engine itself?
Thanks,
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2013 03:42 PM
Hello Mike,
AFAIK they are not supported by the engine itself. So you have to define the task assignment for each user task on the user task itself by using the BPMN 2.0 or Activiti attributes.
If your question is about specifying the user assignment on the swimlanes instead on the tasks:
We are using an XSL transformation before deploying process definitions to Activiti to achieve this. The transformation takes the assignment specified on a swimlane attribute and puts it in the task attributes of the tasks which are located within the swimlane.
HTH,
Sebastian
AFAIK they are not supported by the engine itself. So you have to define the task assignment for each user task on the user task itself by using the BPMN 2.0 or Activiti attributes.
If your question is about specifying the user assignment on the swimlanes instead on the tasks:
We are using an XSL transformation before deploying process definitions to Activiti to achieve this. The transformation takes the assignment specified on a swimlane attribute and puts it in the task attributes of the tasks which are located within the swimlane.
HTH,
Sebastian

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2013 02:12 AM
Hi Mike,
In the Activiti Engine pools do make a difference. So if you would model a process with 2 pools (with each 2 lanes) for example, the Activiti Engine would see this as two different process definitions, one per pool. If you model a process with one pool and multiple lanes, it's just parsed as one process definition.
Best regards,
In the Activiti Engine pools do make a difference. So if you would model a process with 2 pools (with each 2 lanes) for example, the Activiti Engine would see this as two different process definitions, one per pool. If you model a process with one pool and multiple lanes, it's just parsed as one process definition.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2013 04:24 AM
Thank you guys for quick answers!
@Sebastian yes that's what I also was thinking about, so seems like I was not so wrong.
Cheers,
Mike
@Sebastian yes that's what I also was thinking about, so seems like I was not so wrong.
Cheers,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2013 10:10 AM
Seems like Swimlanes rendering and processing is currently not supported in 5.13? Is there an open ticket for this behavior? I checked https://github.com/Activiti/Activiti/issues but found nothing.
