Showing process diagram in task app causes error

Hi guys,

I have got a process which is deployed via the admin application. The process works fine, but if I want to show the process diagram in the task application via the process menu, it causes an error.

diagram_show_error

The process is deployed via the admin application as bar file. If I try to view the process diagram in the admin application it works.

admin_view_diagram_1admin_view_diagram_2

The bar file got the following structure:

  • forms
    ** form1.form
    ** form2.form
    ** etc.
  • process.bmpn20.xml
  • process.png

If I deploy an App including a process via the modeler application the process diagram is shown.

I also checked the log to see the rest requests. See below:

Deployed via modeler:
“GET /flowable-task/app/rest/process-instances/227773/model-json?nocaching=1523622219614 HTTP/1.1” 200 1817

Deployed via admin:
“GET /flowable-task/app/rest/process-instances/220001/model-json?nocaching=1523622358199 HTTP/1.1” 500 46

If I am not wrong the modeler internally handles the process models as Json and parse them into a bpmn20.xml file. Is there a possiblity or solution to get this done for process diagrams, which are created with the eclipse designer plugin and deployed via the admin application?

Maybe I have forgot to set a property in one of the flowable applications?

I appreciate any help. :slight_smile:

Thomas

Hi Thomas,

Interesting, there should be no difference between this. The process diagram is rendered based on the BPMN 2.0 XML. Do you see an error message in the Javascript console of your browser or a stacktrace in the server log?

Best regards,

Tijs

Hi Tijs,

in the javascript console the following error is shown:

jquery.min.js:4 GET http://localhost:9111/flowable-task/app/rest/process-instances/382592/model-json?nocaching=1525266093147 500 ()
send @ jquery.min.js:4
ajax @ jquery.min.js:4
_showProcessDiagram @ displaymodel.js:350
(anonymous) @ displaymodel.js:433

The stack trace from the tomcat log is:

    [http-nio-9111-exec-10] ERROR org.flowable.rest.exception.BaseExceptionHandlerAdvice  - Unhandled exception
java.lang.NullPointerException
	at org.flowable.app.rest.runtime.RuntimeDisplayJsonClientResource.fillWaypoints(RuntimeDisplayJsonClientResource.java:466)
	at org.flowable.app.rest.runtime.RuntimeDisplayJsonClientResource.processArtifacts(RuntimeDisplayJsonClientResource.java:436)
	at org.flowable.app.rest.runtime.RuntimeDisplayJsonClientResource.processProcessElements(RuntimeDisplayJsonClientResource.java:315)
	at org.flowable.app.rest.runtime.RuntimeDisplayJsonClientResource.getModelJSON(RuntimeDisplayJsonClientResource.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.flowable.app.filter.FlowableCookieFilter.doFilterInternal(FlowableCookieFilter.java:156)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:409)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)

Thank you for your help.

Greetings
Thomas

It seems to be related to rendering some of the sequenceflow. Is there a way to share the process xml or a snippet of it so that we can try to reproduce the issue?

Hi joram,

so I have removed all of the listeners from the process. Thank you for your help.

<?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:camunda="http://camunda.org/schema/1.0/bpmn" 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" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
  <process id="igel_process" name="Individuelle Gesundheitsleistung" isExecutable="true">
<documentation>Veranlasst eine neue individuelle Gesundheitsleistung.</documentation>
<sequenceFlow id="SequenceFlow_1hord6k" sourceRef="UserTask_VerifyTherapyBilling" targetRef="UserTask_BillTherapy" />
<sequenceFlow id="SequenceFlow_0s30rcm" sourceRef="UserTask_CheckTherapyBilling" targetRef="ExclusiveGateway_1uv8rlj" />
<sequenceFlow id="SequenceFlow_0hlmwhc" name="nein" sourceRef="ExclusiveGateway_1uv8rlj" targetRef="ExclusiveGateway_TherapyPayedCash">
  <conditionExpression xsi:type="tFormalExpression">${isPaymentReceived == false}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_0bhtz98" sourceRef="UserTask_DeleteApparent" targetRef="EndEvent_Igel" />
<sequenceFlow id="SequenceFlow_0k3btoj" sourceRef="ExclusiveGateway_1kzwki7" targetRef="UserTask_DeleteApparent" />
<sequenceFlow id="SequenceFlow_1v7j8tr" name="ja" sourceRef="ExclusiveGateway_1uv8rlj" targetRef="ExclusiveGateway_1kzwki7">
  <conditionExpression xsi:type="tFormalExpression">${isPaymentReceived == true}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_13rdg35" name="ja" sourceRef="ExclusiveGateway_TherapyBillable" targetRef="UserTask_VerifyTherapyBilling">
  <conditionExpression xsi:type="tFormalExpression"><![CDATA[${isBillingPossible == true && formOutcome  == "Abschließen"}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_18niysu" sourceRef="UserTask_VerifyAppointment" targetRef="ExclusiveGateway_TherapyBillable" />
<sequenceFlow id="SequenceFlow_1ceg9nb" sourceRef="ExclusiveGateway_1v5nybq" targetRef="UserTask_VerifyAppointment" />
<sequenceFlow id="SequenceFlow_0gspkya" name="nein" sourceRef="ExclusiveGateway_0atpd3k" targetRef="ExclusiveGateway_1v5nybq">
  <conditionExpression xsi:type="tFormalExpression">${isFirstAppointment == false}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_14m9oks" sourceRef="UserTask_CreateApparent" targetRef="ExclusiveGateway_1v5nybq" />
<sequenceFlow id="SequenceFlow_1mh174c" name="ja" sourceRef="ExclusiveGateway_0atpd3k" targetRef="UserTask_CreateApparent">
  <conditionExpression xsi:type="tFormalExpression">${isFirstAppointment == true}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_12r5g5k" sourceRef="UserTask_SignContract" targetRef="exclusivegateway1" />
<sequenceFlow id="SequenceFlow_1kx8o8m" sourceRef="UserTask_PrepareContract" targetRef="UserTask_SignContract" />
<sequenceFlow id="SequenceFlow_0t9fp9h" sourceRef="StartEvent_Igel" targetRef="UserTask_PrepareContract" />
<userTask id="UserTask_VerifyTherapyBilling" name="Fakturierbare Termine bestätigen" camunda:formKey="${verifyTherapyBilling}" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<userTask id="UserTask_BillTherapy" name="Behandlung bezahlen" camunda:formKey="billTherapy" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<endEvent id="EndEvent_Igel" name="Behandlung bezahlt" />
<exclusiveGateway id="ExclusiveGateway_1uv8rlj" name="Ist die Zahlung eingegangen?" />
<userTask id="UserTask_CheckTherapyBilling" name="Zahlungseingang prüfen" camunda:formKey="checkTherapyBilling" camunda:candidateGroups="receptionists,doctors" />
<userTask id="UserTask_DeleteApparent" name="Privatschein löschen" camunda:formKey="deleteApparent" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<exclusiveGateway id="ExclusiveGateway_1kzwki7" />
<exclusiveGateway id="ExclusiveGateway_TherapyPayedCash" name="Wurde der Betrag bar bezahlt?" />
<exclusiveGateway id="ExclusiveGateway_TherapyBillable" name="Kann die Behandlung abgerechnet werden?">
  <extensionElements>
    <camunda:executionListener class="de.northernlights.igel_process.delegates.TherapyBillableDelegate" event="start" />
  </extensionElements>
</exclusiveGateway>
<exclusiveGateway id="ExclusiveGateway_1v5nybq" />
<userTask id="UserTask_VerifyAppointment" name="Wahrgenommene Termine prüfen" camunda:formKey="verifyAppointment" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<exclusiveGateway id="ExclusiveGateway_0atpd3k" name="Handelt es sich um den ersten Termin?">
  <incoming>flow3</incoming>
</exclusiveGateway>
<userTask id="UserTask_CreateApparent" name="Privatschein erstellen" camunda:formKey="createApparent" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<userTask id="UserTask_SignContract" name="Vertrag unterschreiben" camunda:formKey="contractSign" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors" />
<userTask id="UserTask_PrepareContract" name="Vertrag vorbereiten" camunda:formKey="contractPreparation" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors">
  <incoming>SequenceFlow_0t9fp9h</incoming>
</userTask>
<startEvent id="StartEvent_Igel" name="IGeL Behandlung veranlassen" camunda:formKey="startForm" camunda:initiator="processInitiator" />
<sequenceFlow id="SequenceFlow_0oqabxd" name="nein" sourceRef="ExclusiveGateway_TherapyPayedCash" targetRef="UserTask_CheckTherapyBilling">
  <conditionExpression xsi:type="tFormalExpression">${isPaymentMethodCash == false}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_1ksst4j" name="ja" sourceRef="ExclusiveGateway_TherapyPayedCash" targetRef="ExclusiveGateway_1kzwki7">
  <conditionExpression xsi:type="tFormalExpression">${isPaymentMethodCash == true}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="SequenceFlow_1kqpuxt" sourceRef="UserTask_BillTherapy" targetRef="ExclusiveGateway_TherapyPayedCash" />
<sequenceFlow id="flow2" sourceRef="ExclusiveGateway_TherapyBillable" targetRef="ExclusiveGateway_0atpd3k">
  <conditionExpression xsi:type="tFormalExpression"><![CDATA[${isBillingPossible == false && formOutcome  == "Abschließen"}]]></conditionExpression>
</sequenceFlow>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway">
  <incoming>flow4</incoming>
</exclusiveGateway>
<sequenceFlow id="flow3" sourceRef="exclusivegateway1" targetRef="ExclusiveGateway_0atpd3k" />
<sequenceFlow id="flow5" sourceRef="ExclusiveGateway_TherapyBillable" targetRef="UserTask_AddAdditionalSessions">
  <conditionExpression xsi:type="tFormalExpression"><![CDATA[${additionalSessionsAdded == false  && formOutcome == "Weitere Behandlungen hinzufügen"}]]></conditionExpression>
</sequenceFlow>
<userTask id="UserTask_AddAdditionalSessions" name="Termine hinzufügen" camunda:formKey="addAdditionalAppointments" camunda:assignee="${taskAssignee}" camunda:candidateGroups="receptionists,doctors">
  <incoming>flow5</incoming>
  <outgoing>flow4</outgoing>
</userTask>
<sequenceFlow id="flow4" sourceRef="UserTask_AddAdditionalSessions" targetRef="exclusivegateway1" />
<association id="Association_08pt913" associationDirection="None" targetRef="TextAnnotation_0u24dm0" />
<association id="Association_18oyvlf" associationDirection="None" targetRef="TextAnnotation_1a8j94m" />
<association id="Association_07vi4vp" associationDirection="None" targetRef="TextAnnotation_0wzr6cg" />
<association id="Association_1r6euqt" associationDirection="None" targetRef="TextAnnotation_1859igk" />
<association id="Association_0jpoclv" associationDirection="None" targetRef="TextAnnotation_0rsj9i0" />
<association id="Association_0ansu7a" associationDirection="None" targetRef="TextAnnotation_0yatbo4" />
<association id="Association_1w2f0pf" associationDirection="None" targetRef="TextAnnotation_0o41f0g" />
<association id="Association_0ailpla" associationDirection="None" targetRef="TextAnnotation_05ejx11" />
<textAnnotation id="TextAnnotation_1tleb23">
  <text>28 Tage</text>
</textAnnotation>
<association id="Association_00a0sil" associationDirection="None" targetRef="TextAnnotation_1tleb23" />
<textAnnotation id="textannotation3">
  <text><![CDATA[Feld hinzufügen:

Der erste Termin findet statt am:
Datum
Uhrzeit]]></text>
</textAnnotation>
<association id="association8" associationDirection="None" sourceRef="textannotation3" targetRef="UserTask_CreateApparent" />
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_igel_process">
<bpmndi:BPMNPlane id="BPMNPlane_igel_process" bpmnElement="igel_process">
  <bpmndi:BPMNShape id="BPMNShape_UserTask_VerifyTherapyBilling" bpmnElement="UserTask_VerifyTherapyBilling">
    <omgdc:Bounds x="2107" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_BillTherapy" bpmnElement="UserTask_BillTherapy">
    <omgdc:Bounds x="2259" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_EndEvent_Igel" bpmnElement="EndEvent_Igel">
    <omgdc:Bounds x="3884" y="347" width="36" height="36" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_1uv8rlj" bpmnElement="ExclusiveGateway_1uv8rlj" isMarkerVisible="true">
    <omgdc:Bounds x="3369" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_CheckTherapyBilling" bpmnElement="UserTask_CheckTherapyBilling">
    <omgdc:Bounds x="3126" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_DeleteApparent" bpmnElement="UserTask_DeleteApparent">
    <omgdc:Bounds x="3684" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_1kzwki7" bpmnElement="ExclusiveGateway_1kzwki7" isMarkerVisible="true">
    <omgdc:Bounds x="3545" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_TherapyPayedCash" bpmnElement="ExclusiveGateway_TherapyPayedCash" isMarkerVisible="true">
    <omgdc:Bounds x="2627" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_TherapyBillable" bpmnElement="ExclusiveGateway_TherapyBillable" isMarkerVisible="true">
    <omgdc:Bounds x="1955" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_1v5nybq" bpmnElement="ExclusiveGateway_1v5nybq" isMarkerVisible="true">
    <omgdc:Bounds x="1480" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_VerifyAppointment" bpmnElement="UserTask_VerifyAppointment">
    <omgdc:Bounds x="1711" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_0atpd3k" bpmnElement="ExclusiveGateway_0atpd3k" isMarkerVisible="true">
    <omgdc:Bounds x="1175" y="340" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_CreateApparent" bpmnElement="UserTask_CreateApparent">
    <omgdc:Bounds x="1292" y="167" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_SignContract" bpmnElement="UserTask_SignContract">
    <omgdc:Bounds x="646" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_PrepareContract" bpmnElement="UserTask_PrepareContract">
    <omgdc:Bounds x="448" y="325" width="100" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_StartEvent_Igel" bpmnElement="StartEvent_Igel">
    <omgdc:Bounds x="163" y="347" width="36" height="36" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_exclusivegateway1" bpmnElement="exclusivegateway1" isMarkerVisible="true">
    <omgdc:Bounds x="850" y="344" width="40" height="40" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_1tleb23" bpmnElement="TextAnnotation_1tleb23">
    <omgdc:Bounds x="2717" y="428" width="148" height="50" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNShape id="BPMNShape_textannotation3" bpmnElement="textannotation3">
    <omgdc:Bounds x="1450" y="88" width="211" height="101" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1hord6k" bpmnElement="SequenceFlow_1hord6k">
    <omgdi:waypoint xsi:type="omgdc:Point" x="2207" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2259" y="365" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0s30rcm" bpmnElement="SequenceFlow_0s30rcm">
    <omgdi:waypoint xsi:type="omgdc:Point" x="3226" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3369" y="360" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0hlmwhc" bpmnElement="SequenceFlow_0hlmwhc">
    <omgdi:waypoint xsi:type="omgdc:Point" x="3389" y="380" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3394" y="581" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2647" y="581" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2647" y="380" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="3401" y="445" width="20" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0bhtz98" bpmnElement="SequenceFlow_0bhtz98">
    <omgdi:waypoint xsi:type="omgdc:Point" x="3784" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3884" y="365" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0k3btoj" bpmnElement="SequenceFlow_0k3btoj">
    <omgdi:waypoint xsi:type="omgdc:Point" x="3585" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3684" y="365" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1v7j8tr" bpmnElement="SequenceFlow_1v7j8tr">
    <omgdi:waypoint xsi:type="omgdc:Point" x="3409" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3545" y="360" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="3478" y="344" width="8" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13rdg35" bpmnElement="SequenceFlow_13rdg35">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1995" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2107" y="365" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="2009" y="344" width="8" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18niysu" bpmnElement="SequenceFlow_18niysu">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1811" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1955" y="360" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1ceg9nb" bpmnElement="SequenceFlow_1ceg9nb">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1520" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1711" y="365" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0gspkya" bpmnElement="SequenceFlow_0gspkya">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1215" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1480" y="360" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="1343" y="344" width="20" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14m9oks" bpmnElement="SequenceFlow_14m9oks">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1392" y="207" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1505" y="207" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1500" y="340" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1mh174c" bpmnElement="SequenceFlow_1mh174c">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1195" y="340" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1200" y="207" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1292" y="207" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="1211" y="268" width="8" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12r5g5k" bpmnElement="SequenceFlow_12r5g5k">
    <omgdi:waypoint xsi:type="omgdc:Point" x="746" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="850" y="364" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1kx8o8m" bpmnElement="SequenceFlow_1kx8o8m">
    <omgdi:waypoint xsi:type="omgdc:Point" x="548" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="646" y="365" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0t9fp9h" bpmnElement="SequenceFlow_0t9fp9h">
    <omgdi:waypoint xsi:type="omgdc:Point" x="199" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="448" y="365" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="278.5" y="340" width="90" height="20" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_0oqabxd" bpmnElement="SequenceFlow_0oqabxd">
    <omgdi:waypoint xsi:type="omgdc:Point" x="2667" y="360" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3126" y="365" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="2705" y="345" width="20" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1ksst4j" bpmnElement="SequenceFlow_1ksst4j">
    <omgdi:waypoint xsi:type="omgdc:Point" x="2647" y="340" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2652" y="217" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3570" y="217" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="3565" y="340" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="2719" y="191" width="8" height="14" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1kqpuxt" bpmnElement="SequenceFlow_1kqpuxt">
    <omgdi:waypoint xsi:type="omgdc:Point" x="2359" y="365" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="2627" y="360" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_flow2" bpmnElement="flow2">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1975" y="380" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1972" y="660" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1193" y="660" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1195" y="380" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_flow3" bpmnElement="flow3">
    <omgdi:waypoint xsi:type="omgdc:Point" x="890" y="364" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="912" y="363" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1175" y="360" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="856" y="338.5" width="90" height="20" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_flow5" bpmnElement="flow5">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1975" y="340" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1973" y="80" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1082" y="80" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="1929" y="185" width="90" height="20" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNEdge id="BPMNEdge_association8" bpmnElement="association8">
    <omgdi:waypoint xsi:type="omgdc:Point" x="1450" y="138" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1340" y="138" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="1342" y="167" />
  </bpmndi:BPMNEdge>
  <bpmndi:BPMNShape id="BPMNShape_UserTask_AddAdditionalSessions" bpmnElement="UserTask_AddAdditionalSessions">
    <omgdc:Bounds x="977" y="40" width="105" height="80" />
  </bpmndi:BPMNShape>
  <bpmndi:BPMNEdge id="BPMNEdge_flow4" bpmnElement="flow4">
    <omgdi:waypoint xsi:type="omgdc:Point" x="977" y="80" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="868" y="80" />
    <omgdi:waypoint xsi:type="omgdc:Point" x="870" y="344" />
    <bpmndi:BPMNLabel>
      <omgdc:Bounds x="878" y="55" width="90" height="20" />
    </bpmndi:BPMNLabel>
  </bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

So finally I found the solution. I deleted all annotation artifacts and now I am able to show the diagram in the flowable task app.

It’s a bit confusing because the admin app was able to display the diagram with annotations included.

Greetings,
Thomas