User: admin@spiffworkflow.org added process model file bpmn-unit-tests/expected-to-pass/single-activity-tests/script-task/script_task.bpmn

This commit is contained in:
sartography-automated-committer 2023-05-24 14:48:30 +00:00
parent 10b6f90420
commit 9d75361304
2 changed files with 45 additions and 2 deletions

View File

@ -6,6 +6,6 @@
"fault_or_suspend_on_exception": "fault", "fault_or_suspend_on_exception": "fault",
"files": [], "files": [],
"metadata_extraction_paths": null, "metadata_extraction_paths": null,
"primary_file_name": null, "primary_file_name": "script_task.bpmn",
"primary_process_id": null "primary_process_id": "Unit_Test_Script_Task"
} }

View File

@ -0,0 +1,43 @@
<?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="Unit_Test_Script_Task" name="Unit Test Script Task" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0jau8me</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0jau8me" sourceRef="StartEvent_1" targetRef="Activity_1vil5kf" />
<bpmn:endEvent id="Event_0qj8pp7">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>End Script Task Unit Test. Set variable value = {{x}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0eeegjb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0eeegjb" sourceRef="Activity_1vil5kf" targetRef="Event_0qj8pp7" />
<bpmn:scriptTask id="Activity_1vil5kf" name="Script Task">
<bpmn:incoming>Flow_0jau8me</bpmn:incoming>
<bpmn:outgoing>Flow_0eeegjb</bpmn:outgoing>
<bpmn:script>x = 10</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Script_Task">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0qj8pp7_di" bpmnElement="Event_0qj8pp7">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0q8iobd_di" bpmnElement="Activity_1vil5kf">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0jau8me_di" bpmnElement="Flow_0jau8me">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0eeegjb_di" bpmnElement="Flow_0eeegjb">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>