demo-process-models/playground/nutech/example-script-task/simple_script_1.bpmn

97 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:collaboration id="Collaboration_1p8fw08">
<bpmn:participant id="Participant_1izvivp" name="receipt" processRef="Process_kj20ew2" />
</bpmn:collaboration>
<bpmn:process id="Process_kj20ew2" isExecutable="true">
<bpmn:laneSet id="LaneSet_0j4jib1">
<bpmn:lane id="Lane_09n7bh3" name="nutech">
<bpmn:flowNodeRef>Activity_1v15ulr</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1xcmamu</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1ms610o</bpmn:flowNodeRef>
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0axv0qb</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:sequenceFlow id="Flow_0m1fvcv" sourceRef="StartEvent_1" targetRef="Activity_1v15ulr" />
<bpmn:sequenceFlow id="Flow_0wwyyzp" sourceRef="Activity_1v15ulr" targetRef="Activity_1xcmamu" />
<bpmn:sequenceFlow id="Flow_1ygoj19" sourceRef="Activity_1ms610o" targetRef="Event_0axv0qb" />
<bpmn:sequenceFlow id="Flow_08t95or" sourceRef="Activity_1xcmamu" targetRef="Activity_1ms610o" />
<bpmn:userTask id="Activity_1v15ulr" name="Get fist name and password">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser />
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="login-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="login-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0m1fvcv</bpmn:incoming>
<bpmn:outgoing>Flow_0wwyyzp</bpmn:outgoing>
</bpmn:userTask>
<bpmn:scriptTask id="Activity_1xcmamu" name="Update first name">
<bpmn:incoming>Flow_0wwyyzp</bpmn:incoming>
<bpmn:outgoing>Flow_08t95or</bpmn:outgoing>
<bpmn:script>firstName = "user-" + firstName</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_1ms610o" name="Show first name">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>First name is {{firstName}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_08t95or</bpmn:incoming>
<bpmn:outgoing>Flow_1ygoj19</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0m1fvcv</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_0axv0qb">
<bpmn:incoming>Flow_1ygoj19</bpmn:incoming>
</bpmn:endEvent>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1p8fw08">
<bpmndi:BPMNShape id="Participant_1izvivp_di" bpmnElement="Participant_1izvivp" isHorizontal="true">
<dc:Bounds x="-220" y="-75" width="700" height="370" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_09n7bh3_di" bpmnElement="Lane_09n7bh3" isHorizontal="true">
<dc:Bounds x="-190" y="-75" width="670" height="370" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1padh7d_di" bpmnElement="Activity_1v15ulr">
<dc:Bounds x="-80" y="35" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1s37dfm_di" bpmnElement="Activity_1xcmamu">
<dc:Bounds x="80" y="35" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_084eqw0_di" bpmnElement="Activity_1ms610o">
<dc:Bounds x="240" y="35" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="-168" y="57" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0axv0qb_di" bpmnElement="Event_0axv0qb">
<dc:Bounds x="422" y="57" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0m1fvcv_di" bpmnElement="Flow_0m1fvcv">
<di:waypoint x="-132" y="75" />
<di:waypoint x="-80" y="75" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wwyyzp_di" bpmnElement="Flow_0wwyyzp">
<di:waypoint x="20" y="75" />
<di:waypoint x="80" y="75" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ygoj19_di" bpmnElement="Flow_1ygoj19">
<di:waypoint x="340" y="75" />
<di:waypoint x="422" y="75" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08t95or_di" bpmnElement="Flow_08t95or">
<di:waypoint x="180" y="75" />
<di:waypoint x="240" y="75" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>