Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13704

Camunda Cloud BPMN models are rejected with a meaningful exception

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine

      Environment (Required on creation): Camunda Platform 7.15 +

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      With Cloud 1.0 we have two workflow enginges (Camunda Cloud and Camunda Platform) at the same time. It might happen (and in fact already happened) that users would try to deploy a cloud diagram to platform or vice versa. In this case a meaningful error message will help the user to understand that this is not possible. The same thing is being implemented for Camunda Cloud (see https://github.com/camunda-cloud/zeebe/issues/7375)

      Steps to reproduce (Required on creation):

      1. Run a Camunda Platfrom distro (WildFly, Tomcat, Run).
      2. Deploy a Camunda Cloud diagram (e.g. simpleclouddiagram.bpmn).

      Observed Behavior (Required on creation):

      • A Camunda Cloud diagram is deployed successfully. 
      • Camunda Cloud (Zeebe) components are ignored when a process instance is started.

      Expected behavior (Required on creation):

      As a user I get a clear "can't deploy a BPMN made for Camunda Cloud on Camunda Platform" (or similar)

      Root Cause (Required on prioritization):

      Solution Ideas (Optional):

      Hints (Optional):

        This is the controller panel for Smart Panels app

            [CAM-13704] Camunda Cloud BPMN models are rejected with a meaningful exception

            Hi maximilian.trumpf,

            Thank you for raising this topic. Can you also provide a basic Camunda Cloud diagram with this ticket, so that we can have something to see what the current behavior is, and to be able to test the expected behavior?

            Best,
            Nikola

            Nikola Koevski added a comment - Hi maximilian.trumpf , Thank you for raising this topic. Can you also provide a basic Camunda Cloud diagram with this ticket, so that we can have something to see what the current behavior is, and to be able to test the expected behavior? Best, Nikola

            Hi nikola.koevski,

             

            sure - please find attached.

            Best,

            Max

            [^simpleCloudDiagram.bpmn]

             

            <?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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_16j5km4" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.8.1" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="1.0.0">
              <bpmn:process id="Process_16w7718" isExecutable="true">
                <bpmn:extensionElements>
                  <zeebe:userTaskForm id="userTaskForm_22lqpqp">{   "type": "default",   "components": [     {       "key": "textfield1",       "label": "SomeInput",       "type": "textfield"     },     {       "key": "button1",       "label": "Button",       "type": "button"     }   ] }</zeebe:userTaskForm>
                </bpmn:extensionElements>
                <bpmn:startEvent id="StartEvent_1">
                  <bpmn:outgoing>Flow_107v876</bpmn:outgoing>
                </bpmn:startEvent>
                <bpmn:sequenceFlow id="Flow_107v876" sourceRef="StartEvent_1" targetRef="myServiceTask" />
                <bpmn:serviceTask id="myServiceTask" name="Do Stuff">
                  <bpmn:incoming>Flow_107v876</bpmn:incoming>
                  <bpmn:outgoing>Flow_0huwgpw</bpmn:outgoing>
                </bpmn:serviceTask>
                <bpmn:sequenceFlow id="Flow_0huwgpw" sourceRef="myServiceTask" targetRef="userTask1" />
                <bpmn:userTask id="userTask1" name="SimpleForm">
                  <bpmn:extensionElements>
                    <zeebe:formDefinition formKey="camunda-forms:bpmn:userTaskForm_22lqpqp" />
                  </bpmn:extensionElements>
                  <bpmn:incoming>Flow_0huwgpw</bpmn:incoming>
                  <bpmn:outgoing>Flow_15zaob9</bpmn:outgoing>
                </bpmn:userTask>
                <bpmn:endEvent id="Event_1h641dy">
                  <bpmn:incoming>Flow_15zaob9</bpmn:incoming>
                </bpmn:endEvent>
                <bpmn:sequenceFlow id="Flow_15zaob9" sourceRef="userTask1" targetRef="Event_1h641dy" />
              </bpmn:process>
              <bpmndi:BPMNDiagram id="BPMNDiagram_1">
                <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_16w7718">
                  <bpmndi:BPMNEdge id="Flow_107v876_di" bpmnElement="Flow_107v876">
                    <di:waypoint x="215" y="117" />
                    <di:waypoint x="270" y="117" />
                  </bpmndi:BPMNEdge>
                  <bpmndi:BPMNEdge id="Flow_0huwgpw_di" bpmnElement="Flow_0huwgpw">
                    <di:waypoint x="370" y="117" />
                    <di:waypoint x="430" y="117" />
                  </bpmndi:BPMNEdge>
                  <bpmndi:BPMNEdge id="Flow_15zaob9_di" bpmnElement="Flow_15zaob9">
                    <di:waypoint x="530" y="117" />
                    <di:waypoint x="592" y="117" />
                  </bpmndi:BPMNEdge>
                  <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
                    <dc:Bounds x="179" y="99" width="36" height="36" />
                  </bpmndi:BPMNShape>
                  <bpmndi:BPMNShape id="Activity_083mefx_di" bpmnElement="myServiceTask">
                    <dc:Bounds x="270" y="77" width="100" height="80" />
                  </bpmndi:BPMNShape>
                  <bpmndi:BPMNShape id="Activity_1o1gcg4_di" bpmnElement="userTask1">
                    <dc:Bounds x="430" y="77" width="100" height="80" />
                  </bpmndi:BPMNShape>
                  <bpmndi:BPMNShape id="Event_1h641dy_di" bpmnElement="Event_1h641dy">
                    <dc:Bounds x="592" y="99" width="36" height="36" />
                  </bpmndi:BPMNShape>
                </bpmndi:BPMNPlane>
              </bpmndi:BPMNDiagram>
            </bpmn:definitions>
            
            

            Maximilian Trumpf added a comment - Hi nikola.koevski ,   sure - please find attached. Best, Max [^simpleCloudDiagram.bpmn]   <?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:zeebe= "http://camunda.org/schema/zeebe/1.0" xmlns:di= "http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler= "http://camunda.org/schema/modeler/1.0" id= "Definitions_16j5km4" targetNamespace= "http://bpmn.io/schema/bpmn" exporter= "Camunda Modeler" exporterVersion= "4.8.1" modeler:executionPlatform= "Camunda Cloud" modeler:executionPlatformVersion= "1.0.0" > <bpmn:process id= "Process_16w7718" isExecutable= " true " > <bpmn:extensionElements> <zeebe:userTaskForm id= "userTaskForm_22lqpqp" >{ "type" : " default " , "components" : [ { "key" : "textfield1" , "label" : "SomeInput" , "type" : "textfield" }, { "key" : "button1" , "label" : "Button" , "type" : "button" } ] }</zeebe:userTaskForm> </bpmn:extensionElements> <bpmn:startEvent id= "StartEvent_1" > <bpmn:outgoing>Flow_107v876</bpmn:outgoing> </bpmn:startEvent> <bpmn:sequenceFlow id= "Flow_107v876" sourceRef= "StartEvent_1" targetRef= "myServiceTask" /> <bpmn:serviceTask id= "myServiceTask" name= "Do Stuff" > <bpmn:incoming>Flow_107v876</bpmn:incoming> <bpmn:outgoing>Flow_0huwgpw</bpmn:outgoing> </bpmn:serviceTask> <bpmn:sequenceFlow id= "Flow_0huwgpw" sourceRef= "myServiceTask" targetRef= "userTask1" /> <bpmn:userTask id= "userTask1" name= "SimpleForm" > <bpmn:extensionElements> <zeebe:formDefinition formKey= "camunda-forms:bpmn:userTaskForm_22lqpqp" /> </bpmn:extensionElements> <bpmn:incoming>Flow_0huwgpw</bpmn:incoming> <bpmn:outgoing>Flow_15zaob9</bpmn:outgoing> </bpmn:userTask> <bpmn:endEvent id= "Event_1h641dy" > <bpmn:incoming>Flow_15zaob9</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id= "Flow_15zaob9" sourceRef= "userTask1" targetRef= "Event_1h641dy" /> </bpmn:process> <bpmndi:BPMNDiagram id= "BPMNDiagram_1" > <bpmndi:BPMNPlane id= "BPMNPlane_1" bpmnElement= "Process_16w7718" > <bpmndi:BPMNEdge id= "Flow_107v876_di" bpmnElement= "Flow_107v876" > <di:waypoint x= "215" y= "117" /> <di:waypoint x= "270" y= "117" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id= "Flow_0huwgpw_di" bpmnElement= "Flow_0huwgpw" > <di:waypoint x= "370" y= "117" /> <di:waypoint x= "430" y= "117" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id= "Flow_15zaob9_di" bpmnElement= "Flow_15zaob9" > <di:waypoint x= "530" y= "117" /> <di:waypoint x= "592" y= "117" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id= "_BPMNShape_StartEvent_2" bpmnElement= "StartEvent_1" > <dc:Bounds x= "179" y= "99" width= "36" height= "36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id= "Activity_083mefx_di" bpmnElement= "myServiceTask" > <dc:Bounds x= "270" y= "77" width= "100" height= "80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id= "Activity_1o1gcg4_di" bpmnElement= "userTask1" > <dc:Bounds x= "430" y= "77" width= "100" height= "80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id= "Event_1h641dy_di" bpmnElement= "Event_1h641dy" > <dc:Bounds x= "592" y= "99" width= "36" height= "36" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn:definitions>

            Nikola Koevski added a comment - - edited

            maximilian.trumpf, thanks for the diagram. I've reassigned this ticket for scheduling.

            Nikola Koevski added a comment - - edited maximilian.trumpf , thanks for the diagram. I've reassigned this ticket for scheduling.

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2602. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2602 . Please use this link for any future references and continue any discussion there.

              thorben.lindhauer Thorben Lindhauer
              maximilian.trumpf Maximilian Trumpf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: