<?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_jm3qjay" isExecutable="true"> <bpmn:startEvent id="StartEvent_1"> <bpmn:outgoing>Flow_1w7l0lj</bpmn:outgoing> </bpmn:startEvent> <bpmn:sequenceFlow id="Flow_1w7l0lj" sourceRef="StartEvent_1" targetRef="manual_task" /> <bpmn:exclusiveGateway id="loopback_gateway" default="flow_default"> <bpmn:incoming>Flow_1ouak9p</bpmn:incoming> <bpmn:outgoing>flow_default</bpmn:outgoing> <bpmn:outgoing>flow_x_equals_one</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id="Flow_1ouak9p" sourceRef="manual_task" targetRef="loopback_gateway" /> <bpmn:endEvent id="Event_1we3snj"> <bpmn:incoming>flow_default</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id="flow_default" sourceRef="loopback_gateway" targetRef="Event_1we3snj" /> <bpmn:manualTask id="manual_task" name="Manual task"> <bpmn:extensionElements> <spiffworkflow:instructionsForEndUser>HEY</spiffworkflow:instructionsForEndUser> <spiffworkflow:preScript>x = 1</spiffworkflow:preScript> </bpmn:extensionElements> <bpmn:incoming>Flow_1w7l0lj</bpmn:incoming> <bpmn:incoming>flow_x_equals_one</bpmn:incoming> <bpmn:outgoing>Flow_1ouak9p</bpmn:outgoing> </bpmn:manualTask> <bpmn:sequenceFlow id="flow_x_equals_one" sourceRef="loopback_gateway" targetRef="manual_task"> <bpmn:conditionExpression>x == 1</bpmn:conditionExpression> </bpmn:sequenceFlow> </bpmn:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_jm3qjay"> <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> <dc:Bounds x="179" y="159" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_15tztve_di" bpmnElement="loopback_gateway" isMarkerVisible="true"> <dc:Bounds x="425" y="152" width="50" height="50" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_1we3snj_di" bpmnElement="Event_1we3snj"> <dc:Bounds x="532" y="159" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_1apgvvn_di" bpmnElement="manual_task"> <dc:Bounds x="270" y="137" width="100" height="80" /> <bpmndi:BPMNLabel /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="Flow_1w7l0lj_di" bpmnElement="Flow_1w7l0lj"> <di:waypoint x="215" y="177" /> <di:waypoint x="270" y="177" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1ouak9p_di" bpmnElement="Flow_1ouak9p"> <di:waypoint x="370" y="177" /> <di:waypoint x="425" y="177" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0icwqfm_di" bpmnElement="flow_default"> <di:waypoint x="475" y="177" /> <di:waypoint x="532" y="177" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0jnhclm_di" bpmnElement="flow_x_equals_one"> <di:waypoint x="450" y="152" /> <di:waypoint x="450" y="100" /> <di:waypoint x="348" y="137" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn:definitions>