geus [
https://community.jboss.org/people/geus] created the discussion
"Re: Swimlanes and ActorId"
To view the discussion, visit:
https://community.jboss.org/message/751685#751685
--------------------------------------------------------------
It seems I am facing the same issue: the groupId (e.g. "sales") of a human task
is not assigned to the actual user belonging to that group (e.g. "sales-rep").
This prevents this user ("sales-rep") from actually being able to claim a
"sales " group task when I log on as "sales-rep" in the jbpm-console
I found this bug
https://issues.jboss.org/browse/JBPM-3401
https://issues.jboss.org/browse/JBPM-3401Is this the bug which is causing this? And does
anybody know a workaround?
Thanks!
My BPMN2 proces is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<model:definitions xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://www.omg.org/bpmn20
http://www.omg.org/bpmn20" xmlns:bpmndi="
http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc="
http://www.omg.org/spec/DD/20100524/DC
http://www.omg.org/spec/DD/20100524/DC" xmlns:di="
http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI"
xmlns:drools="
http://www.jboss.org/drools http://www.jboss.org/drools"
xmlns:model="
http://www.omg.org/spec/BPMN/20100524/MODEL
http://www.omg.org/spec/BPMN/20100524/MODEL" id="_MvBWUdytEeGjZI5cVksRYQ"
xsi:schemaLocation="
http://www.omg.org/spec/BPMN/20100524/MODEL
http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" targetNamespace="
http://www.omg.org/bpmn20 http://www.omg.org/bpmn20">
<model:itemDefinition id="_employeeItem"
structureRef="String"/>
<model:process id="Test.TestBPMN" drools:packageName="Test"
drools:version="2" name="TestBPMN" isExecutable="true">
<model:property id="employee"
itemSubjectRef="_employeeItem"/>
<model:laneSet id="_MvB9YNytEeGjZI5cVksRYQ">
<model:lane id="_8C1EC1A3-BC43-4483-9E2B-7567D05BBC66"
drools:bgcolor="#ffffff" drools:selectable="true"
name="sales">
<model:flowNodeRef>_C6A55EF5-7C66-4B7B-B8DE-68191620D936</model:flowNodeRef>
<model:flowNodeRef>_7285E55F-3FC5-45DC-9628-C3203659F3A9</model:flowNodeRef>
<model:flowNodeRef>_B3338629-A70B-4695-B041-F984A7377452</model:flowNodeRef>
</model:lane>
</model:laneSet>
<model:sequenceFlow id="_580EAA85-D258-4B3A-A172-44F797ED5B48"
drools:selectable="true"
sourceRef="_7285E55F-3FC5-45DC-9628-C3203659F3A9"
targetRef="_C6A55EF5-7C66-4B7B-B8DE-68191620D936"/>
<model:sequenceFlow id="_700C3CB3-A3E4-4A97-A6FF-B62771E33F65"
drools:selectable="true"
sourceRef="_C6A55EF5-7C66-4B7B-B8DE-68191620D936"
targetRef="_B3338629-A70B-4695-B041-F984A7377452"/>
<model:userTask id="_C6A55EF5-7C66-4B7B-B8DE-68191620D936"
drools:selectable="true" drools:taskName="whatever"
drools:scriptFormat="
http://www.java.com/java http://www.java.com/java"
name="TaskNr1">
<model:incoming>_580EAA85-D258-4B3A-A172-44F797ED5B48</model:incoming>
<model:outgoing>_700C3CB3-A3E4-4A97-A6FF-B62771E33F65</model:outgoing>
<model:ioSpecification id="_MvB9YdytEeGjZI5cVksRYQ">
<model:dataInput
id="_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskNameInput"
name="TaskName"/>
<model:dataInput
id="_C6A55EF5-7C66-4B7B-B8DE-68191620D936_sales=GroupIdInput"
name="sales=GroupId"/>
<model:dataInput
id="_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskName=whateverInput"
name="TaskName=whatever"/>
<model:dataInput
id="_C6A55EF5-7C66-4B7B-B8DE-68191620D936_GroupIdInput"
name="GroupId"/>
<model:inputSet id="_MvB9YtytEeGjZI5cVksRYQ">
<model:dataInputRefs>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_sales=GroupIdInput</model:dataInputRefs>
<model:dataInputRefs>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskName=whateverInput</model:dataInputRefs>
<model:dataInputRefs>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_GroupIdInput</model:dataInputRefs>
<model:dataInputRefs>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskNameInput</model:dataInputRefs>
</model:inputSet>
<model:outputSet id="_MvB9Y9ytEeGjZI5cVksRYQ"/>
</model:ioSpecification>
<model:dataInputAssociation id="_MvB9ZNytEeGjZI5cVksRYQ">
<model:targetRef>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskNameInput</model:targetRef>
<model:assignment id="_MvB9ZdytEeGjZI5cVksRYQ">
<model:from xsi:type="model:tFormalExpression"
id="_MvB9ZtytEeGjZI5cVksRYQ">whatever</model:from>
<model:to xsi:type="model:tFormalExpression"
id="_MvB9Z9ytEeGjZI5cVksRYQ">_C6A55EF5-7C66-4B7B-B8DE-68191620D936_TaskNameInput</model:to>
</model:assignment>
</model:dataInputAssociation>
<model:dataInputAssociation id="_MvB9aNytEeGjZI5cVksRYQ">
<model:targetRef>_C6A55EF5-7C66-4B7B-B8DE-68191620D936_GroupIdInput</model:targetRef>
<model:assignment id="_MvB9adytEeGjZI5cVksRYQ">
<model:from xsi:type="model:tFormalExpression"
id="_MvB9atytEeGjZI5cVksRYQ">sales</model:from>
<model:to xsi:type="model:tFormalExpression"
id="_MvB9a9ytEeGjZI5cVksRYQ">_C6A55EF5-7C66-4B7B-B8DE-68191620D936_GroupIdInput</model:to>
</model:assignment>
</model:dataInputAssociation>
</model:userTask>
[...]
</model:definitions>
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/751685#751685]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]