2024-02-08 06:33:23 +00:00

100 lines
5.0 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:process id="Process_test_1jvrp9s" isExecutable="true">
<bpmn:endEvent id="EndEvent_1">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0j46uoa</bpmn:incoming>
</bpmn:endEvent>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qqd0qd" />
<bpmn:userTask id="Activity_0qqd0qd" name="test form">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="simple-form-schema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
<bpmn:outgoing>Flow_0mdbvox</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0mdbvox" sourceRef="Activity_0qqd0qd" targetRef="Activity_1932ru4" />
<bpmn:sequenceFlow id="Flow_1i11san" sourceRef="Activity_1932ru4" targetRef="Activity_1gzc954" />
<bpmn:sequenceFlow id="Flow_0j46uoa" sourceRef="Activity_1xsty48" targetRef="EndEvent_1" />
<bpmn:manualTask id="Activity_1xsty48" name="Show">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>{{text}}
{{select}}
{{check}}
{{score}}
{{res}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ou9gxx</bpmn:incoming>
<bpmn:outgoing>Flow_0j46uoa</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:scriptTask id="Activity_1932ru4" name="process">
<bpmn:extensionElements>
<spiffworkflow:preScript />
<spiffworkflow:postScript>score = select + '1'</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0mdbvox</bpmn:incoming>
<bpmn:outgoing>Flow_1i11san</bpmn:outgoing>
<bpmn:script>score = int(select) + 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:businessRuleTask id="Activity_1gzc954" name="decision">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1i11san</bpmn:incoming>
<bpmn:outgoing>Flow_1ou9gxx</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_1ou9gxx" sourceRef="Activity_1gzc954" targetRef="Activity_1xsty48" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_test_1jvrp9s">
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="982" y="82" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="82" y="82" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1pd1wyk_di" bpmnElement="Activity_0qqd0qd">
<dc:Bounds x="240" y="60" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0o3jsc7_di" bpmnElement="Activity_1xsty48">
<dc:Bounds x="830" y="60" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_06iuo70_di" bpmnElement="Activity_1932ru4">
<dc:Bounds x="430" y="60" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1putaei_di" bpmnElement="Activity_1gzc954">
<dc:Bounds x="610" y="60" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
<di:waypoint x="118" y="100" />
<di:waypoint x="240" y="100" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mdbvox_di" bpmnElement="Flow_0mdbvox">
<di:waypoint x="340" y="100" />
<di:waypoint x="430" y="100" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1i11san_di" bpmnElement="Flow_1i11san">
<di:waypoint x="530" y="100" />
<di:waypoint x="610" y="100" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0j46uoa_di" bpmnElement="Flow_0j46uoa">
<di:waypoint x="930" y="100" />
<di:waypoint x="982" y="100" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ou9gxx_di" bpmnElement="Flow_1ou9gxx">
<di:waypoint x="710" y="100" />
<di:waypoint x="830" y="100" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>