<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="TE_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0px403d" name="Load Todos" processRef="TE_Process" />
  </bpmn:collaboration>
  <bpmn:process id="TE_Process" name="Load Todos" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Lane">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_000b95p</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_00cz4uc</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0rzf86u</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1" name="Start Event">
      <bpmn:outgoing>Flow_096l035</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_096l035" sourceRef="StartEvent_1" targetRef="Activity_000b95p" />
    <bpmn:serviceTask id="Activity_000b95p" name="HTTP GET todos">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="module" value="HttpClient" />
          <camunda:property name="method" value="get" />
          <camunda:property name="params" value="[&#34;https://jsonplaceholder.cypress.io/todos&#34;, {&#34;headers&#34;:{&#34;Content-Type&#34;:&#34;applicati&#34;}}]" />
          <camunda:property name="studio.paramUrl" value="https://jsonplaceholder.cypress.io/todos" />
          <camunda:property name="studio.paramBody" />
          <camunda:property name="studio.paramContentType" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_096l035</bpmn:incoming>
      <bpmn:outgoing>Flow_0j24j4j</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_0j24j4j" sourceRef="Activity_000b95p" targetRef="Activity_0rzf86u" />
    <bpmn:endEvent id="Event_00cz4uc" name="Expected End Event">
      <bpmn:incoming>Flow_1vlp8wp</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="Activity_0rzf86u" name="HTTP POST&#10;todos">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="module" value="HttpClient" />
          <camunda:property name="method" value="post" />
          <camunda:property name="params" value="[&#34;https://jsonplaceholder.cypress.io/todos/&#34;, {&#10;  ...token.current.value&#10;}]" />
          <camunda:property name="studio.paramUrl" value="https://jsonplaceholder.cypress.io/todos/" />
          <camunda:property name="studio.paramBody" value="{&#10;  ...token.current.value&#10;}" />
          <camunda:property name="studio.paramAuthorization" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0j24j4j</bpmn:incoming>
      <bpmn:outgoing>Flow_1vlp8wp</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_1vlp8wp" sourceRef="Activity_0rzf86u" targetRef="Event_00cz4uc" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
        <dc:Bounds x="5" y="4" width="565" height="346" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="35" y="4" width="535" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <dc:Bounds x="92" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="83" y="195" width="55" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0yazs6l_di" bpmnElement="Activity_000b95p">
        <dc:Bounds x="180" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_00cz4uc_di" bpmnElement="Event_00cz4uc">
        <dc:Bounds x="482" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="466" y="195" width="69" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ft8vwq_di" bpmnElement="Activity_0rzf86u">
        <dc:Bounds x="340" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_096l035_di" bpmnElement="Flow_096l035">
        <di:waypoint x="128" y="170" />
        <di:waypoint x="180" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0j24j4j_di" bpmnElement="Flow_0j24j4j">
        <di:waypoint x="280" y="170" />
        <di:waypoint x="340" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1vlp8wp_di" bpmnElement="Flow_1vlp8wp">
        <di:waypoint x="440" y="170" />
        <di:waypoint x="482" y="170" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
