testMultiInstanceFixedNumbers.bpmn 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <process id="testMultiInstanceFixedNumbers" name="testMultiInstanceFixedNumbers" isExecutable="true">
  4. <startEvent id="startevent1" name="Start"></startEvent>
  5. <serviceTask id="servicetask1" name="Service Task" activiti:expression="${counter + 1}" activiti:resultVariableName="counter">
  6. <multiInstanceLoopCharacteristics isSequential="false">
  7. <loopCardinality>${loop}</loopCardinality>
  8. </multiInstanceLoopCharacteristics>
  9. </serviceTask>
  10. <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="servicetask1"></sequenceFlow>
  11. <endEvent id="endevent1" name="End"></endEvent>
  12. <sequenceFlow id="flow2" sourceRef="receivetask1" targetRef="endevent1"></sequenceFlow>
  13. <receiveTask id="receivetask1" name="Receive Task"></receiveTask>
  14. <sequenceFlow id="flow3" sourceRef="servicetask1" targetRef="receivetask1"></sequenceFlow>
  15. </process>
  16. <bpmndi:BPMNDiagram id="BPMNDiagram_testMultiInstanceFixedNumbers">
  17. <bpmndi:BPMNPlane bpmnElement="testMultiInstanceFixedNumbers" id="BPMNPlane_testMultiInstanceFixedNumbers">
  18. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  19. <omgdc:Bounds height="35.0" width="35.0" x="50.0" y="50.0"></omgdc:Bounds>
  20. </bpmndi:BPMNShape>
  21. <bpmndi:BPMNShape bpmnElement="servicetask1" id="BPMNShape_servicetask1">
  22. <omgdc:Bounds height="55.0" width="105.0" x="116.0" y="40.0"></omgdc:Bounds>
  23. </bpmndi:BPMNShape>
  24. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  25. <omgdc:Bounds height="35.0" width="35.0" x="410.0" y="50.0"></omgdc:Bounds>
  26. </bpmndi:BPMNShape>
  27. <bpmndi:BPMNShape bpmnElement="receivetask1" id="BPMNShape_receivetask1">
  28. <omgdc:Bounds height="55.0" width="105.0" x="260.0" y="40.0"></omgdc:Bounds>
  29. </bpmndi:BPMNShape>
  30. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  31. <omgdi:waypoint x="85.0" y="67.0"></omgdi:waypoint>
  32. <omgdi:waypoint x="116.0" y="67.0"></omgdi:waypoint>
  33. </bpmndi:BPMNEdge>
  34. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  35. <omgdi:waypoint x="365.0" y="67.0"></omgdi:waypoint>
  36. <omgdi:waypoint x="410.0" y="67.0"></omgdi:waypoint>
  37. </bpmndi:BPMNEdge>
  38. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  39. <omgdi:waypoint x="221.0" y="67.0"></omgdi:waypoint>
  40. <omgdi:waypoint x="260.0" y="67.0"></omgdi:waypoint>
  41. </bpmndi:BPMNEdge>
  42. </bpmndi:BPMNPlane>
  43. </bpmndi:BPMNDiagram>
  44. </definitions>