AnsweredAssumed Answered

Activiti explorer vs Eclipse designer

Question asked by jain.shweta5 on Aug 15, 2013
Latest reply on Sep 3, 2013 by jbarrez
Hi,
I have created following file in Eclipse. When I import this as a model to activiti explorer ,  task listener fields goes off.
Please let me know the solution as it is very important for my project where business person also creates the workflow and communicate with dev.

Thanks a lot

<?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">
  <process id="PlaceJobOrder" name="PlaceJobOrder" isExecutable="true">
     
    <startEvent id="startevent1" name="Start">
      <extensionElements>
        <activiti:formProperty id="primaryRolePerson" type="string"></activiti:formProperty>
        <activiti:formProperty id="primaryOUName" type="string"></activiti:formProperty>
        <activiti:formProperty id="id" type="long"></activiti:formProperty>
        <activiti:formProperty id="skill" type="string"></activiti:formProperty>
        <activiti:formProperty id="quantity" type="long"></activiti:formProperty>
        <activiti:formProperty id="location" type="string"></activiti:formProperty>
      </extensionElements>
    </startEvent>
    <userTask id="usertask1" name="User Task" activiti:assignee="${primaryRolePerson}">
      <extensionElements>
        <activiti:taskListener event="create" class="com.reed.xms.workflow.SetTracker">
          <activiti:field name="actions">
            <activiti:string>approve,reject,delete</activiti:string>
          </activiti:field>
          <activiti:field name="reciepientFlag">
            <activiti:string>role</activiti:string>
          </activiti:field>
          <activiti:field name="partyFlag">
            <activiti:string>primary</activiti:string>
          </activiti:field>
          <activiti:field name="escalateFlag">
            <activiti:string>e1</activiti:string>
          </activiti:field>
          <activiti:field name="state">
            <activiti:string>submitted</activiti:string>
          </activiti:field>
          <activiti:field name="mileStone">
            <activiti:string>authorized</activiti:string>
          </activiti:field>
          <activiti:field name="uiLink">
            <activiti:string>123</activiti:string>
          </activiti:field>
          <activiti:field name="title">
            <activiti:string>Task…</activiti:string>
          </activiti:field>
        </activiti:taskListener>
      </extensionElements>
    </userTask>
    <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <userTask id="usertask2" name="User Task" activiti:assignee="chris"></userTask>
    <sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
    <sequenceFlow id="flow3" sourceRef="usertask2" targetRef="endevent1"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_PlaceJobOrder">
    <bpmndi:BPMNPlane bpmnElement="PlaceJobOrder" id="BPMNPlane_PlaceJobOrder">
      <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="70.0" y="250.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
        <omgdc:Bounds height="55.0" width="105.0" x="220.0" y="240.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
        <omgdc:Bounds height="35.0" width="35.0" x="620.0" y="250.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
        <omgdc:Bounds height="55.0" width="105.0" x="430.0" y="240.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
        <omgdi:waypoint x="105.0" y="267.0"></omgdi:waypoint>
        <omgdi:waypoint x="220.0" y="267.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
        <omgdi:waypoint x="325.0" y="267.0"></omgdi:waypoint>
        <omgdi:waypoint x="430.0" y="267.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
        <omgdi:waypoint x="535.0" y="267.0"></omgdi:waypoint>
        <omgdi:waypoint x="620.0" y="267.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

Outcomes