Error in loading bpmn file

I am trying to open a BPMN file in camundata modeller which is showing error. Not able to find error.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
             xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
             xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
             id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">

  <process id="LoanCustomerAcquisitionFlow" name="Loan Customer Acquisition Flow" isExecutable="true">
    <startEvent id="StartEvent" name="Loan Application Initiated"/>

    <userTask id="InitiateApplication" name="Initiate Application, Capture KYC & Loan Details"/>
    <exclusiveGateway id="Gateway1" name="Application Initiated By"/>

    <userTask id="CustomerConsent" name="Provide Digital Consent & Review Application"/>
    <serviceTask id="RunCreditCheck" name="Run Credit Check & Eligibility Logic"/>

    <exclusiveGateway id="EligibilityGateway" name="Eligibility Check Result"/>
    <userTask id="CollectChargeCAF" name="Collect Go/No-Go Charge & Fill CAF"/>
    <exclusiveGateway id="Gateway2" name="CAF Filled By"/>
    <userTask id="SignCAF" name="Digitally Sign CAF"/>

    <endEvent id="EndEvent" name="Application Submitted"/>

    <sequenceFlow id="flow1" sourceRef="StartEvent" targetRef="InitiateApplication"/>
    <sequenceFlow id="flow2" sourceRef="InitiateApplication" targetRef="Gateway1"/>
    <sequenceFlow id="flow3" sourceRef="Gateway1" targetRef="CustomerConsent"/>
    <sequenceFlow id="flow4" sourceRef="CustomerConsent" targetRef="RunCreditCheck"/>
    <sequenceFlow id="flow5" sourceRef="RunCreditCheck" targetRef="EligibilityGateway"/>
    <sequenceFlow id="flow6" sourceRef="EligibilityGateway" targetRef="CollectChargeCAF"/>
    <sequenceFlow id="flow7" sourceRef="CollectChargeCAF" targetRef="Gateway2"/>
    <sequenceFlow id="flow8" sourceRef="Gateway2" targetRef="SignCAF"/>
    <sequenceFlow id="flow9" sourceRef="SignCAF" targetRef="EndEvent"/>
  </process>
</definitions>
[/Users/vcsharma/Downloads/Customer_Acquisition_Flow.bpmn] no diagram to display
    at c (webpack://camundanode_modules/bpmn-js/lib/import/Importer.js:75:12)
    at file:///private/var/folders/rs/4h_m1nws0cd71t6czxb68fy40000gn/T/AppTranslocation/206EC5BD-0A0E-451C-A7E2-B0AF5995E2BC/d/Camunda%20Modeler.app/Contents/Resources/app.asar/public/2792.js:23:75824
    at new Promise (<anonymous>)
    at te (webpack://camundanode_modules/bpmn-js/lib/import/Importer.js:94:9)
    at importBpmnDiagram (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:371:29)
    at open (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:310:28)
    at importDefinitions (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:259:36)
    at warnings (webpack://camunda-modeler-client/src/app/tabs/bpmn/BpmnEditor.js:591:6) [ error ]
[/Users/vcsharma/Downloads/Loan_Customer_Acquisition_Detailed.bpmn] no diagram to display
    at c (webpack://camundanode_modules/bpmn-js/lib/import/Importer.js:75:12)
    at file:///private/var/folders/rs/4h_m1nws0cd71t6czxb68fy40000gn/T/AppTranslocation/206EC5BD-0A0E-451C-A7E2-B0AF5995E2BC/d/Camunda%20Modeler.app/Contents/Resources/app.asar/public/2792.js:23:75824
    at new Promise (<anonymous>)
    at te (webpack://camundanode_modules/bpmn-js/lib/import/Importer.js:94:9)
    at importBpmnDiagram (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:371:29)
    at open (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:310:28)
    at importDefinitions (webpack://camundanode_modules/bpmn-js/lib/BaseViewer.js:259:36)
    at warnings (webpack://camunda-modeler-client/src/app/tabs/bpmn/BpmnEditor.js:591:6) [ error ]

Hi @vcsmails, welcome to the forums! The reason for the error is because the XML file isn’t in the proper BPMN format. How was this XML file generated?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.