AnsweredAssumed Answered

Activiti Modeler (5.17.0) issue with class fields in service tasks

Question asked by tc1 on Feb 19, 2015
Latest reply on Apr 23, 2015 by boekhold
Hi everybody,

we are using the current Activiti Modeler and the Activiti Designer to create new process diagramms.

For example:
I created a new process in Eclipse with a service task and a class field entry. After that, I imported the process into the Modeler tried to change the class field of the service task. But after clicking the option, nothing happend. I tried different browser, but always the same. The only workaround is, to export the diagramm, edit it in Eclipse and import it afterwards in the Modeler.

Is that a bug?

[img=600x480]http://s17.postimg.org/id1jdk3sf/service_task_class_field.png[/img]

[img=600x280]http://s21.postimg.org/9u8bxza9z/service_task_class_field_clicked.png[/img]

Regards,
Thomas


<?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:xsd="http://www.w3.org/2001/XMLSchema" 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/processdef">
  <process id="process" isExecutable="true">
    <startEvent id="sid-83121F10-77B4-4D83-9C69-26D67D2F6ED6"></startEvent>
    <sequenceFlow id="sid-D6AC9AC0-C695-40E3-8371-7D3A7B8B8963" sourceRef="sid-83121F10-77B4-4D83-9C69-26D67D2F6ED6" targetRef="sid-A94DEC40-15CC-4255-B1A3-6EE50C85809E"></sequenceFlow>
    <serviceTask id="sid-A94DEC40-15CC-4255-B1A3-6EE50C85809E" name="Test Delegate" activiti:class="Test">
      <extensionElements>
        <activiti:field name="function">
          <activiti:string><![CDATA[mail]]></activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>
    <exclusiveGateway id="sid-E72A8388-57C9-4F80-9694-78B5C2BB9584"></exclusiveGateway>
    <sequenceFlow id="sid-07FAAE0E-CC58-4D92-AFA9-3B2EC3E7DC4F" sourceRef="sid-A94DEC40-15CC-4255-B1A3-6EE50C85809E" targetRef="sid-E72A8388-57C9-4F80-9694-78B5C2BB9584"></sequenceFlow>
    <userTask id="sid-166CA45E-6142-46BB-ACF1-A4E9061D89EF" name="Task 1" activiti:candidateGroups="sales"></userTask>
    <userTask id="sid-60955DBC-300A-479D-8FA3-0BC249851258" name="Task 2" activiti:candidateGroups="sales"></userTask>
    <exclusiveGateway id="sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3"></exclusiveGateway>
    <sequenceFlow id="sid-25B332E9-EA91-4944-8381-EC8F3B924FFB" sourceRef="sid-166CA45E-6142-46BB-ACF1-A4E9061D89EF" targetRef="sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3"></sequenceFlow>
    <endEvent id="sid-3302EEB7-2CF6-4520-AFE9-D12005CE59E9"></endEvent>
    <sequenceFlow id="sid-BA4BEA83-A621-4FAC-840C-8E7699C8FAF8" sourceRef="sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3" targetRef="sid-3302EEB7-2CF6-4520-AFE9-D12005CE59E9"></sequenceFlow>
    <sequenceFlow id="sid-45D9DC59-0076-45BA-B7F0-A7DDFADC302B" sourceRef="sid-60955DBC-300A-479D-8FA3-0BC249851258" targetRef="sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3"></sequenceFlow>
    <sequenceFlow id="sid-F567D8EA-4463-4FF5-8475-396CF521A792" name="result == true" sourceRef="sid-E72A8388-57C9-4F80-9694-78B5C2BB9584" targetRef="sid-166CA45E-6142-46BB-ACF1-A4E9061D89EF">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==true}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-AD5565DD-A441-4A33-A8B4-07A27E3D8E36" name="result == false" sourceRef="sid-E72A8388-57C9-4F80-9694-78B5C2BB9584" targetRef="sid-60955DBC-300A-479D-8FA3-0BC249851258">
      <conditionExpression xsi:type="tFormalExpression"><![CDATA[${result==false}]]></conditionExpression>
    </sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_process">
    <bpmndi:BPMNPlane bpmnElement="process" id="BPMNPlane_process">
      <bpmndi:BPMNShape bpmnElement="sid-83121F10-77B4-4D83-9C69-26D67D2F6ED6" id="BPMNShape_sid-83121F10-77B4-4D83-9C69-26D67D2F6ED6">
        <omgdc:Bounds height="30.0" width="30.0" x="180.0" y="220.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-A94DEC40-15CC-4255-B1A3-6EE50C85809E" id="BPMNShape_sid-A94DEC40-15CC-4255-B1A3-6EE50C85809E">
        <omgdc:Bounds height="80.0" width="100.0" x="255.0" y="195.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-E72A8388-57C9-4F80-9694-78B5C2BB9584" id="BPMNShape_sid-E72A8388-57C9-4F80-9694-78B5C2BB9584">
        <omgdc:Bounds height="40.0" width="40.0" x="410.0" y="215.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-166CA45E-6142-46BB-ACF1-A4E9061D89EF" id="BPMNShape_sid-166CA45E-6142-46BB-ACF1-A4E9061D89EF">
        <omgdc:Bounds height="80.0" width="100.0" x="495.0" y="75.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-60955DBC-300A-479D-8FA3-0BC249851258" id="BPMNShape_sid-60955DBC-300A-479D-8FA3-0BC249851258">
        <omgdc:Bounds height="80.0" width="100.0" x="495.0" y="330.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3" id="BPMNShape_sid-1CD72D88-7EC4-4EDA-94B1-57B940E61ED3">
        <omgdc:Bounds height="40.0" width="40.0" x="645.0" y="215.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-3302EEB7-2CF6-4520-AFE9-D12005CE59E9" id="BPMNShape_sid-3302EEB7-2CF6-4520-AFE9-D12005CE59E9">
        <omgdc:Bounds height="28.0" width="28.0" x="730.0" y="221.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-D6AC9AC0-C695-40E3-8371-7D3A7B8B8963" id="BPMNEdge_sid-D6AC9AC0-C695-40E3-8371-7D3A7B8B8963">
        <omgdi:waypoint x="210.0" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="255.0" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-BA4BEA83-A621-4FAC-840C-8E7699C8FAF8" id="BPMNEdge_sid-BA4BEA83-A621-4FAC-840C-8E7699C8FAF8">
        <omgdi:waypoint x="685.0" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="730.0" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-AD5565DD-A441-4A33-A8B4-07A27E3D8E36" id="BPMNEdge_sid-AD5565DD-A441-4A33-A8B4-07A27E3D8E36">
        <omgdi:waypoint x="430.1470588235294" y="254.85294117647058"></omgdi:waypoint>
        <omgdi:waypoint x="431.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="495.0" y="370.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-45D9DC59-0076-45BA-B7F0-A7DDFADC302B" id="BPMNEdge_sid-45D9DC59-0076-45BA-B7F0-A7DDFADC302B">
        <omgdi:waypoint x="595.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="665.0" y="370.0"></omgdi:waypoint>
        <omgdi:waypoint x="665.0" y="255.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-F567D8EA-4463-4FF5-8475-396CF521A792" id="BPMNEdge_sid-F567D8EA-4463-4FF5-8475-396CF521A792">
        <omgdi:waypoint x="430.1652892561983" y="215.16528925619835"></omgdi:waypoint>
        <omgdi:waypoint x="431.0" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="495.0" y="115.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-25B332E9-EA91-4944-8381-EC8F3B924FFB" id="BPMNEdge_sid-25B332E9-EA91-4944-8381-EC8F3B924FFB">
        <omgdi:waypoint x="595.0" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="665.0" y="115.0"></omgdi:waypoint>
        <omgdi:waypoint x="665.0" y="215.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-07FAAE0E-CC58-4D92-AFA9-3B2EC3E7DC4F" id="BPMNEdge_sid-07FAAE0E-CC58-4D92-AFA9-3B2EC3E7DC4F">
        <omgdi:waypoint x="355.0" y="235.0"></omgdi:waypoint>
        <omgdi:waypoint x="410.0" y="235.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

Outcomes