Created
December 26, 2016 06:19
-
-
Save seki-seki/f75bdd7516e0ad9d87707598a5e90203 to your computer and use it in GitHub Desktop.
jsr-352.js-example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:jsr352="http://jsr352" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"> | |
<bpmn2:collaboration id="Collaboration_0gvn3k0"> | |
<bpmn2:participant id="Participant_1li2dmg" name="job" processRef="Process_1" /> | |
</bpmn2:collaboration> | |
<bpmn2:process id="Process_1" isExecutable="false"> | |
<bpmn2:startEvent id="StartEvent_18wpy1k"> | |
<bpmn2:outgoing>SequenceFlow_03jxx7p</bpmn2:outgoing> | |
</bpmn2:startEvent> | |
<bpmn2:endEvent id="EndEvent_16009d6"> | |
<bpmn2:incoming>SequenceFlow_04dkv0h</bpmn2:incoming> | |
</bpmn2:endEvent> | |
<bpmn2:task id="Task_1xuo4gm" name="step1" jsr352:batchletOrChunk="batchlet"> | |
<bpmn2:incoming>SequenceFlow_03jxx7p</bpmn2:incoming> | |
<bpmn2:outgoing>SequenceFlow_0iqmh2g</bpmn2:outgoing> | |
</bpmn2:task> | |
<bpmn2:subProcess id="SubProcess_1hbwvp6" name="flow"> | |
<bpmn2:incoming>SequenceFlow_0iqmh2g</bpmn2:incoming> | |
<bpmn2:outgoing>SequenceFlow_04dkv0h</bpmn2:outgoing> | |
<bpmn2:task id="Task_0ag0l3z" name="step2" jsr352:batchletOrChunk="batchlet" jsr352:batchleRef="org.jobstreamer.batch.ShellBatchlet"> | |
<bpmn2:extensionElements> | |
<camunda:properties> | |
<camunda:property name="key" value="val" /> | |
</camunda:properties> | |
</bpmn2:extensionElements> | |
<bpmn2:outgoing>SequenceFlow_0kieebp</bpmn2:outgoing> | |
</bpmn2:task> | |
<bpmn2:task id="Task_13hn79p" name="step3" jsr352:batchletOrChunk="batchlet"> | |
<bpmn2:incoming>SequenceFlow_0kieebp</bpmn2:incoming> | |
</bpmn2:task> | |
<bpmn2:sequenceFlow id="SequenceFlow_0kieebp" sourceRef="Task_0ag0l3z" targetRef="Task_13hn79p" /> | |
</bpmn2:subProcess> | |
<bpmn2:sequenceFlow id="SequenceFlow_03jxx7p" sourceRef="StartEvent_18wpy1k" targetRef="Task_1xuo4gm" /> | |
<bpmn2:sequenceFlow id="SequenceFlow_04dkv0h" sourceRef="SubProcess_1hbwvp6" targetRef="EndEvent_16009d6" /> | |
<bpmn2:sequenceFlow id="SequenceFlow_0iqmh2g" sourceRef="Task_1xuo4gm" targetRef="SubProcess_1hbwvp6" /> | |
</bpmn2:process> | |
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | |
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0gvn3k0"> | |
<bpmndi:BPMNShape id="Task_0ag0l3z_di" bpmnElement="Task_0ag0l3z"> | |
<dc:Bounds x="434" y="250" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_13hn79p_di" bpmnElement="Task_13hn79p"> | |
<dc:Bounds x="606" y="250" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="SequenceFlow_0kieebp_di" bpmnElement="SequenceFlow_0kieebp"> | |
<di:waypoint xsi:type="dc:Point" x="534" y="290" /> | |
<di:waypoint xsi:type="dc:Point" x="606" y="290" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="570" y="265" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNShape id="Participant_1li2dmg_di" bpmnElement="Participant_1li2dmg"> | |
<dc:Bounds x="-75" y="175" width="1406" height="250" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="SubProcess_1hbwvp6_di" bpmnElement="SubProcess_1hbwvp6" isExpanded="true"> | |
<dc:Bounds x="361" y="195" width="445" height="200" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="StartEvent_18wpy1k_di" bpmnElement="StartEvent_18wpy1k"> | |
<dc:Bounds x="-25" y="277" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="-7" y="313" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="EndEvent_16009d6_di" bpmnElement="EndEvent_16009d6"> | |
<dc:Bounds x="1275" y="286" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="1293" y="322" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_1xuo4gm_di" bpmnElement="Task_1xuo4gm"> | |
<dc:Bounds x="157" y="247" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="SequenceFlow_0iqmh2g_di" bpmnElement="SequenceFlow_0iqmh2g"> | |
<di:waypoint xsi:type="dc:Point" x="257" y="287" /> | |
<di:waypoint xsi:type="dc:Point" x="309" y="287" /> | |
<di:waypoint xsi:type="dc:Point" x="309" y="295" /> | |
<di:waypoint xsi:type="dc:Point" x="361" y="295" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="324" y="281" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_04dkv0h_di" bpmnElement="SequenceFlow_04dkv0h"> | |
<di:waypoint xsi:type="dc:Point" x="806" y="295" /> | |
<di:waypoint xsi:type="dc:Point" x="1041" y="295" /> | |
<di:waypoint xsi:type="dc:Point" x="1041" y="304" /> | |
<di:waypoint xsi:type="dc:Point" x="1275" y="304" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="1056" y="290" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_03jxx7p_di" bpmnElement="SequenceFlow_03jxx7p"> | |
<di:waypoint xsi:type="dc:Point" x="11" y="295" /> | |
<di:waypoint xsi:type="dc:Point" x="84" y="295" /> | |
<di:waypoint xsi:type="dc:Point" x="84" y="287" /> | |
<di:waypoint xsi:type="dc:Point" x="157" y="287" /> | |
<bpmndi:BPMNLabel> | |
<dc:Bounds x="99" y="281" width="0" height="0" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</bpmn2:definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment