aboutsummaryrefslogtreecommitdiffstats
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_l2hJ8CccEeW3d--PaFJMbg" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.6.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="sdncAdapter" name="SDNC Adapter" isExecutable="true">
    <bpmn2:exclusiveGateway id="isResponseOK" name="is Response Ok?" default="badSynchronousResponse">
      <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
      <bpmn2:outgoing>badSynchronousResponse</bpmn2:outgoing>
      <bpmn2:outgoing>goodSynchronousResponse</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="badSynchronousResponse" name="Bad synchronous response" sourceRef="isResponseOK" targetRef="setBadResponse" />
    <bpmn2:sequenceFlow id="goodSynchronousResponse" name="Good synchronous response" sourceRef="isResponseOK" targetRef="resetCallbackRequest">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("SDNCA_ResponseCode")=='200'}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:scriptTask id="setBadResponse" name="Set Bad Response&#10;&#10;Exception" scriptFormat="groovy">
      <bpmn2:incoming>badSynchronousResponse</bpmn2:incoming>
      <bpmn2:outgoing>Exception</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*

int responseCode = execution.getVariable("SDNCA_ResponseCode")
ExceptionUtil exceptionUtil = new ExceptionUtil()
exceptionUtil.buildWorkflowException(execution, 7000, "Could not communicate with the SDNC Adapter" )]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="Exception" name="Exception" sourceRef="setBadResponse" targetRef="badResponseEndFlow" />
    <bpmn2:serviceTask id="invokeSDNCAdapter" name="Invoke SDNC Adapter" camunda:asyncAfter="true" camunda:class="">
      <bpmn2:extensionElements>
        <camunda:connector>
          <camunda:inputOutput>
            <camunda:inputParameter name="url">${URN_mso_adapters_sdnc_endpoint}</camunda:inputParameter>
            <camunda:inputParameter name="method">POST</camunda:inputParameter>
            <camunda:inputParameter name="headers">
              <camunda:map>
                <camunda:entry key="content-type">application/soap+xml</camunda:entry>
                <camunda:entry key="Authorization">#{BasicAuthHeaderValue}</camunda:entry>
              </camunda:map>
            </camunda:inputParameter>
            <camunda:inputParameter name="payload">${sdncAdapterRequest}</camunda:inputParameter>
            <camunda:outputParameter name="sdncAdapterWorkflowResponse">${response}</camunda:outputParameter>
            <camunda:outputParameter name="SDNCA_ResponseCode">${statusCode}</camunda:outputParameter>
          </camunda:inputOutput>
          <camunda:connectorId>soap-http-connector</camunda:connectorId>
        </camunda:connector>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
    </bpmn2:serviceTask>
    <bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="invokeSDNCAdapter" targetRef="isResponseOK" />
    <bpmn2:endEvent id="badResponseEndFlow" name="Bad Response End Flow">
      <bpmn2:incoming>Exception</bpmn2:incoming>
      <bpmn2:errorEventDefinition id="_ErrorEventDefinition_77" errorRef="Error_3" />
    </bpmn2:endEvent>
    <bpmn2:startEvent id="SDNCAdapter_Start" name="Incoming Message">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
      <bpmn2:messageEventDefinition id="_MessageEventDefinition_3" messageRef="Message_1" />
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="SDNCAdapter_Start" targetRef="processMessage" />
    <bpmn2:scriptTask id="processMessage" name="Process message" scriptFormat="groovy">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="ScriptObject">
            <camunda:map>
              <camunda:entry key="MethodName">massageSDNCRequestScript</camunda:entry>
              <camunda:entry key="Params" />
            </camunda:map>
          </camunda:inputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.preProcessRequest(execution)
]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="processMessage" targetRef="invokeSDNCAdapter" />
    <bpmn2:scriptTask id="returnWorkflowResult" name="Return workflow result" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_11ah5pw</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.postProcessResponse(execution)
]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="returnWorkflowResult" targetRef="timeoutError" />
    <bpmn2:exclusiveGateway id="timeoutError" name="Did Timeout occur?" default="noTimeoutError">
      <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
      <bpmn2:outgoing>noTimeoutError</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="noTimeoutError" name="No Timeout" sourceRef="timeoutError" targetRef="ExclusiveGateway_1" />
    <bpmn2:sequenceFlow id="SequenceFlow_19" name="Timeout" sourceRef="timeoutError" targetRef="endEventException">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("asynchronousResponseTimeout")==true}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:subProcess id="SubProcess" name="Wait for asynchronous message">
      <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
      <bpmn2:startEvent id="StartEvent" name="Start Event">
        <bpmn2:outgoing>SequenceFlow_1eciucn</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent" name="Catch Event">
        <bpmn2:incoming>SequenceFlow_1eciucn</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
        <bpmn2:messageEventDefinition id="MessageEventDefinition_2" messageRef="Message_2" />
      </bpmn2:intermediateCatchEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_16" sourceRef="IntermediateCatchEvent" targetRef="eEndEventSubprocess" />
      <bpmn2:sequenceFlow id="SequenceFlow_1eciucn" sourceRef="StartEvent" targetRef="IntermediateCatchEvent" />
      <bpmn2:endEvent id="eEndEventSubprocess" name="End Event Subprocess">
        <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
      </bpmn2:endEvent>
    </bpmn2:subProcess>
    <bpmn2:sequenceFlow id="SequenceFlow_9" sourceRef="SubProcess" targetRef="returnWorkflowResult" />
    <bpmn2:scriptTask id="setTimeoutEx" name="Set Timeout&#10;and Stop Listening for Callback" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_0mzs1ze</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_11ah5pw</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.setTimeout(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:scriptTask id="resetCallbackRequest" name="Reset callback request and set timer value" scriptFormat="groovy">
      <bpmn2:incoming>goodSynchronousResponse</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.resetCallbackRequest(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="resetCallbackRequest" targetRef="SubProcess" />
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1" name="Check final indicator" default="Done">
      <bpmn2:incoming>noTimeoutError</bpmn2:incoming>
      <bpmn2:outgoing>Done</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="Done" name="Done" sourceRef="ExclusiveGateway_1" targetRef="toggleSuccessIndicator" />
    <bpmn2:sequenceFlow id="SequenceFlow_30" name="Not Done" sourceRef="ExclusiveGateway_1" targetRef="ParallelGateway_3">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("continueListening")==true}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:scriptTask id="toggleSuccessIndicator" name="Toggle Success Indicator" scriptFormat="groovy">
      <bpmn2:incoming>Done</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.toggleSuccessIndicator(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="toggleSuccessIndicator" targetRef="endEventFlow" />
    <bpmn2:endEvent id="endEventFlow" name="End Event Flow">
      <bpmn2:extensionElements>
        <camunda:connector>
          <camunda:inputOutput>
            <camunda:outputParameter name="sdncAdapterResponse">${sdncAdapterWorkflowResponse}</camunda:outputParameter>
          </camunda:inputOutput>
        </camunda:connector>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
      <bpmn2:messageEventDefinition id="_MessageEventDefinition_6" />
    </bpmn2:endEvent>
    <bpmn2:parallelGateway id="ParallelGateway_3">
      <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>
    </bpmn2:parallelGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_21" name="" sourceRef="ParallelGateway_3" targetRef="toggleSuccess" />
    <bpmn2:sequenceFlow id="SequenceFlow_26" name="Continue listening for asynchronous message" sourceRef="ParallelGateway_3" targetRef="resetCallbackRequest" />
    <bpmn2:subProcess id="errorHandlingSubProcess" name="Error Handling Sub Process" triggeredByEvent="true">
      <bpmn2:startEvent id="catchErrors" name="Catch">
        <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
        <bpmn2:errorEventDefinition id="_ErrorEventDefinition_78" errorRef="Error_3" />
      </bpmn2:startEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="catchErrors" targetRef="assignError" />
      <bpmn2:scriptTask id="assignError" name="Assign Error" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.assignError(execution)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="assignError" targetRef="EndEvent_5" />
      <bpmn2:endEvent id="EndEvent_5">
        <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>
      </bpmn2:endEvent>
    </bpmn2:subProcess>
    <bpmn2:scriptTask id="toggleSuccess" name="Toggle Success Indicator" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
def sdnc= new SDNCAdapter()
sdnc.toggleSuccessIndicator(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_31" name="" sourceRef="toggleSuccess" targetRef="ExclusiveGateway_2" />
    <bpmn2:exclusiveGateway id="ExclusiveGateway_2" name="Service Config Activate?" default="SequenceFlow_23">
      <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_4" name="Yes" sourceRef="ExclusiveGateway_2" targetRef="CallActivity_11xgv33">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("serviceConfigActivate")==true}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_23" name="No" sourceRef="ExclusiveGateway_2" targetRef="EndEvent_1" />
    <bpmn2:endEvent id="EndEvent_1">
      <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:boundaryEvent id="BoundaryEvent_1" name="Boundary Event" cancelActivity="false" attachedToRef="SubProcess">
      <bpmn2:documentation>this is a non interupting time to prevent an Optimistic Locking Exception if timer expires the same time we correlate a message</bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_0mzs1ze</bpmn2:outgoing>
      <bpmn2:timerEventDefinition>
        <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">${sdncTimeoutValue}</bpmn2:timeDuration>
      </bpmn2:timerEventDefinition>
    </bpmn2:boundaryEvent>
    <bpmn2:endEvent id="endEventException" name="Timeout Exception">
      <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
      <bpmn2:terminateEventDefinition />
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_0mzs1ze" sourceRef="BoundaryEvent_1" targetRef="setTimeoutEx" />
    <bpmn2:sequenceFlow id="SequenceFlow_11ah5pw" sourceRef="setTimeoutEx" targetRef="returnWorkflowResult" />
    <bpmn2:callActivity id="CallActivity_11xgv33" name="Call Notification Service" calledElement="${URN_mso_workflow_notification_name}" camunda:calledElementBinding="deployment">
      <bpmn2:extensionElements>
        <camunda:in source="mso-request-id" target="mso-request-id" />
        <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
        <camunda:in variables="all" />
        <camunda:out variables="all" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
    </bpmn2:callActivity>
  </bpmn2:process>
  <bpmn2:message id="Message_1" name="sdncAdapterWorkflowRequest" />
  <bpmn2:message id="Message_2" name="sdncAdapterCallbackRequest" />
  <bpmn2:error id="Error_3" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
  <bpmn2:signal id="Signal_1" name="InterimStatus" />
  <bpmn2:error id="Error_2" name="Java Lang Exception" errorCode="java.lang.Exception" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="sdncAdapter">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_33" bpmnElement="SDNCAdapter_Start">
        <dc:Bounds x="111" y="161" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="72" y="202" width="115" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_62" bpmnElement="invokeSDNCAdapter">
        <dc:Bounds x="342" y="139" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_29" bpmnElement="isResponseOK" isMarkerVisible="true">
        <dc:Bounds x="519" y="153" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="569" y="182" width="106" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_64" bpmnElement="endEventFlow">
        <dc:Bounds x="1560" y="366" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1595" y="373" width="96" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_65" bpmnElement="badResponseEndFlow">
        <dc:Bounds x="762" y="104" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="804" y="111" width="149" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="badSynchronousResponse" sourceElement="_BPMNShape_ExclusiveGateway_29" targetElement="_BPMNShape_ScriptTask_24">
        <di:waypoint xsi:type="dc:Point" x="544" y="153" />
        <di:waypoint xsi:type="dc:Point" x="544" y="122" />
        <di:waypoint xsi:type="dc:Point" x="600" y="122" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="441" y="99" width="164" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_33" targetElement="_BPMNShape_ScriptTask_3">
        <di:waypoint xsi:type="dc:Point" x="147" y="179" />
        <di:waypoint xsi:type="dc:Point" x="194" y="179" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="171" y="179" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="goodSynchronousResponse" sourceElement="_BPMNShape_ExclusiveGateway_29" targetElement="_BPMNShape_ScriptTask_27">
        <di:waypoint xsi:type="dc:Point" x="544" y="203" />
        <di:waypoint xsi:type="dc:Point" x="544" y="246" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="459" y="208" width="172" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_68" bpmnElement="returnWorkflowResult">
        <dc:Bounds x="1104" y="237" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_3" bpmnElement="processMessage">
        <dc:Bounds x="194" y="139" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ScriptTask_3" targetElement="_BPMNShape_ServiceTask_62">
        <di:waypoint xsi:type="dc:Point" x="294" y="179" />
        <di:waypoint xsi:type="dc:Point" x="342" y="179" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="300" y="153" width="30" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ServiceTask_68" targetElement="_BPMNShape_ExclusiveGateway_53">
        <di:waypoint xsi:type="dc:Point" x="1204" y="277" />
        <di:waypoint xsi:type="dc:Point" x="1248" y="276" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1211" y="251" width="37" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ServiceTask_62" targetElement="_BPMNShape_ExclusiveGateway_29">
        <di:waypoint xsi:type="dc:Point" x="442" y="179" />
        <di:waypoint xsi:type="dc:Point" x="480" y="179" />
        <di:waypoint xsi:type="dc:Point" x="480" y="178" />
        <di:waypoint xsi:type="dc:Point" x="519" y="178" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="468" y="153" width="37" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_16" bpmnElement="IntermediateCatchEvent">
        <dc:Bounds x="781" y="257" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="739" y="292" width="60" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_11" bpmnElement="SubProcess" isExpanded="true">
        <dc:Bounds x="619" y="209" width="379" height="137" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_38" bpmnElement="StartEvent">
        <dc:Bounds x="655" y="257" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="630" y="292" width="54" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_SubProcess_11">
        <di:waypoint xsi:type="dc:Point" x="998" y="278" />
        <di:waypoint xsi:type="dc:Point" x="1104" y="277" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1051" y="262.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_24" bpmnElement="setBadResponse">
        <dc:Bounds x="600" y="82" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="Exception" sourceElement="_BPMNShape_ScriptTask_24" targetElement="_BPMNShape_EndEvent_65">
        <di:waypoint xsi:type="dc:Point" x="700" y="122" />
        <di:waypoint xsi:type="dc:Point" x="762" y="122" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="699" y="99" width="64" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_25" bpmnElement="setTimeoutEx">
        <dc:Bounds x="941" y="372" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_IntermediateCatchEvent_16">
        <di:waypoint xsi:type="dc:Point" x="817" y="275" />
        <di:waypoint xsi:type="dc:Point" x="926" y="275" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="872" y="260" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_53" bpmnElement="timeoutError" isMarkerVisible="true">
        <dc:Bounds x="1248" y="251" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1300" y="266" width="118" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="noTimeoutError" sourceElement="_BPMNShape_ExclusiveGateway_53" targetElement="_BPMNShape_ExclusiveGateway_54">
        <di:waypoint xsi:type="dc:Point" x="1273" y="301" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="359" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1280" y="324" width="72" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_ExclusiveGateway_53" targetElement="_BPMNShape_ScriptTask_25">
        <di:waypoint xsi:type="dc:Point" x="1273" y="251" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="95" />
        <di:waypoint xsi:type="dc:Point" x="1560" y="95" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1301" y="169.45283018867923" width="39" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_54" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
        <dc:Bounds x="1248" y="359" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1194" y="372" width="57" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="Done" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_ScriptTask_247">
        <di:waypoint xsi:type="dc:Point" x="1298" y="384" />
        <di:waypoint xsi:type="dc:Point" x="1383" y="384" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1316" y="384" width="36" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_27" bpmnElement="resetCallbackRequest">
        <dc:Bounds x="494" y="246" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_27" targetElement="_BPMNShape_SubProcess_11">
        <di:waypoint xsi:type="dc:Point" x="594" y="286" />
        <di:waypoint xsi:type="dc:Point" x="607" y="286" />
        <di:waypoint xsi:type="dc:Point" x="607" y="275" />
        <di:waypoint xsi:type="dc:Point" x="619" y="275" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="622" y="280.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_30" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_ParallelGateway_14">
        <di:waypoint xsi:type="dc:Point" x="1273" y="409" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="467" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1273" y="423" width="60" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_55" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
        <dc:Bounds x="1248" y="663" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1105" y="678" width="145" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="CallActivity_11xgv33_di">
        <di:waypoint xsi:type="dc:Point" x="1273" y="713" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="782" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1279" y="722.5754830930483" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_14" bpmnElement="ParallelGateway_3">
        <dc:Bounds x="1248" y="467" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1273" y="522" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_ParallelGateway_14" targetElement="_BPMNShape_ScriptTask_255">
        <di:waypoint xsi:type="dc:Point" x="1273" y="517" />
        <di:waypoint xsi:type="dc:Point" x="1274" y="552" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1270" y="533" width="6" height="6" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_96" bpmnElement="EndEvent_1">
        <dc:Bounds x="1444" y="671" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1462" y="712" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="_BPMNShape_EndEvent_96">
        <di:waypoint xsi:type="dc:Point" x="1298" y="688" />
        <di:waypoint xsi:type="dc:Point" x="1444" y="689" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1320" y="688" width="22" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_33" bpmnElement="SequenceFlow_26" sourceElement="_BPMNShape_ParallelGateway_14" targetElement="_BPMNShape_ScriptTask_27">
        <di:waypoint xsi:type="dc:Point" x="1248" y="492" />
        <di:waypoint xsi:type="dc:Point" x="544" y="492" />
        <di:waypoint xsi:type="dc:Point" x="544" y="326" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="782" y="467" width="73" height="48" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_247" bpmnElement="toggleSuccessIndicator">
        <dc:Bounds x="1383" y="344" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_247" targetElement="_BPMNShape_EndEvent_64">
        <di:waypoint xsi:type="dc:Point" x="1483" y="384" />
        <di:waypoint xsi:type="dc:Point" x="1560" y="384" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1499" y="384" width="6" height="6" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_19" bpmnElement="errorHandlingSubProcess" isExpanded="true">
        <dc:Bounds x="378" y="797" width="353" height="193" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="catchErrors">
        <dc:Bounds x="413" y="876" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="416" y="917" width="29" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_213" bpmnElement="EndEvent_5">
        <dc:Bounds x="653" y="876" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="671" y="917" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_249" bpmnElement="assignError">
        <dc:Bounds x="497" y="854" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_249">
        <di:waypoint xsi:type="dc:Point" x="449" y="894" />
        <di:waypoint xsi:type="dc:Point" x="497" y="894" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="479" y="894" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_ScriptTask_249" targetElement="_BPMNShape_EndEvent_213">
        <di:waypoint xsi:type="dc:Point" x="597" y="894" />
        <di:waypoint xsi:type="dc:Point" x="653" y="894" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="625" y="894" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_255" bpmnElement="toggleSuccess">
        <dc:Bounds x="1224" y="552" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_31" sourceElement="_BPMNShape_ScriptTask_255" targetElement="_BPMNShape_ExclusiveGateway_55">
        <di:waypoint xsi:type="dc:Point" x="1274" y="632" />
        <di:waypoint xsi:type="dc:Point" x="1274" y="646" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="646" />
        <di:waypoint xsi:type="dc:Point" x="1273" y="663" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1271" y="646" width="6" height="6" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1eciucn_di" bpmnElement="SequenceFlow_1eciucn">
        <di:waypoint xsi:type="dc:Point" x="691" y="275" />
        <di:waypoint xsi:type="dc:Point" x="781" y="275" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="736" y="260" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="BoundaryEvent_1e5qjpm_di" bpmnElement="BoundaryEvent_1">
        <dc:Bounds x="782" y="328" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="715" y="361" width="78" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0vl0pvg_di" bpmnElement="endEventException">
        <dc:Bounds x="1560" y="77" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1607" y="84" width="90" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0mzs1ze_di" bpmnElement="SequenceFlow_0mzs1ze">
        <di:waypoint xsi:type="dc:Point" x="800" y="364" />
        <di:waypoint xsi:type="dc:Point" x="800" y="412" />
        <di:waypoint xsi:type="dc:Point" x="941" y="412" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="815" y="388" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_11ah5pw_di" bpmnElement="SequenceFlow_11ah5pw">
        <di:waypoint xsi:type="dc:Point" x="1041" y="412" />
        <di:waypoint xsi:type="dc:Point" x="1154" y="412" />
        <di:waypoint xsi:type="dc:Point" x="1154" y="317" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1098" y="397" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_0xhvk12_di" bpmnElement="eEndEventSubprocess">
        <dc:Bounds x="926" y="257" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="905" y="292" width="59" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="CallActivity_11xgv33_di" bpmnElement="CallActivity_11xgv33">
        <dc:Bounds x="1223" y="782" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>