Hi, team Camunda. I have a problem when deploy a process. It works on my personal free Modeler, but not effect in my company’s version, So strange.
Err msg:
Command ‘CREATE’ rejected with code ‘INVALID_ARGUMENT’: Expected to deploy new resources, but encountered the following errors: ‘New BPMN Diagram.bpmn’: - Element: Activity_0onnjqh > extensionElements > formDefinition - ERROR: Exactly one of the attributes ‘formId, formKey’ must be present and not blank ‘New BPMN Diagram.bpmn’: - Element: Activity_0ek0aqe - ERROR: Must have either one ‘zeebe:script’ or one ‘zeebe:taskDefinition’ extension element - Element: Activity_0hz1j4c - ERROR: Must have exactly one ‘zeebe:taskDefinition’ extension element - Element: Activity_0oyeav2 > multiInstanceLoopCharacteristics - ERROR: Must have exactly one ‘zeebe:loopCharacteristics’ extension element [ deploy-error ] 20/8/2024 17:14:42
I tried to figure out which are these elements, for example ‘Element: Activity_0ek0aqe’ . I transfer the mode to xml, then I can’t find any words about this. Here is the whole xml:
<?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:modeler=“http://camunda.org/schema/modeler/1.0” xmlns:di=“http://www.omg.org/spec/DD/20100524/DI” xmlns:zeebe=“http://camunda.org/schema/zeebe/1.0” xmlns:camunda=“http://camunda.org/schema/1.0/bpmn” id=“Definitions_1” targetNamespace=“http://bpmn.io/schema/bpmn” exporter=“Camunda Web Modeler” exporterVersion=“2f4fbd4” modeler:executionPlatform=“Camunda Cloud” modeler:executionPlatformVersion=“8.5.0” camunda:diagramRelationId=“0db45363-799d-46bf-b498-34b6d6820a51”>
<bpmn:process id=“Process_12nzmey” name=“Oneforma_Payment_DEV” isExecutable=“true”>
<bpmn:startEvent id=“StartEvent_1” name=“Start”>
bpmn:extensionElements
<zeebe:formDefinition formId=“Form_0mf30os” />
</bpmn:extensionElements>
bpmn:outgoingFlow_1gga2ao</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id=“Flow_1gga2ao” sourceRef=“StartEvent_1” targetRef=“Activity_1f905ey” />
<bpmn:userTask id=“Activity_1f905ey” name=“CCC”>
bpmn:extensionElements
<zeebe:formDefinition formId=“Form_0mf30os” />
</bpmn:extensionElements>
bpmn:incomingFlow_1gga2ao</bpmn:incoming>
bpmn:outgoingFlow_1eueomg</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id=“Flow_1eueomg” sourceRef=“Activity_1f905ey” targetRef=“Activity_1bsdg92” />
<bpmn:userTask id=“Activity_1bsdg92” name=“BO”>
bpmn:extensionElements
<zeebe:formDefinition formId=“Form_0mf30os” />
</bpmn:extensionElements>
bpmn:incomingFlow_1eueomg</bpmn:incoming>
bpmn:outgoingFlow_1ccf5za</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id=“Flow_1ccf5za” sourceRef=“Activity_1bsdg92” targetRef=“Activity_0ckfy0p” />
<bpmn:userTask id=“Activity_0ckfy0p” name=“Finance”>
bpmn:extensionElements
<zeebe:formDefinition formId=“Form_0mf30os” />
</bpmn:extensionElements>
bpmn:incomingFlow_1ccf5za</bpmn:incoming>
bpmn:outgoingFlow_0zsa73c</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id=“Event_1vtj83b” name=“End”>
bpmn:incomingFlow_0zsa73c</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id=“Flow_0zsa73c” sourceRef=“Activity_0ckfy0p” targetRef=“Event_1vtj83b” />
</bpmn:process>
<bpmndi:BPMNDiagram id=“BPMNDiagram_1”>
<bpmndi:BPMNPlane id=“BPMNPlane_1” bpmnElement=“Process_12nzmey”>
<bpmndi:BPMNShape id=“_BPMNShape_StartEvent_2” bpmnElement=“StartEvent_1”>
<dc:Bounds x=“150” y=“100” width=“36” height=“36” />
bpmndi:BPMNLabel
<dc:Bounds x=“157” y=“143” width=“24” height=“14” />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“Activity_1poxpel_di” bpmnElement=“Activity_1f905ey”>
<dc:Bounds x=“240” y=“78” width=“100” height=“80” />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“Activity_0xboe0r_di” bpmnElement=“Activity_1bsdg92”>
<dc:Bounds x=“400” y=“78” width=“100” height=“80” />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“Activity_1m3n3wr_di” bpmnElement=“Activity_0ckfy0p”>
<dc:Bounds x=“560” y=“78” width=“100” height=“80” />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“Event_1vtj83b_di” bpmnElement=“Event_1vtj83b”>
<dc:Bounds x=“722” y=“100” width=“36” height=“36” />
bpmndi:BPMNLabel
<dc:Bounds x=“730” y=“143” width=“20” height=“14” />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id=“Flow_1gga2ao_di” bpmnElement=“Flow_1gga2ao”>
<di:waypoint x=“186” y=“118” />
<di:waypoint x=“240” y=“118” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id=“Flow_1eueomg_di” bpmnElement=“Flow_1eueomg”>
<di:waypoint x=“340” y=“118” />
<di:waypoint x=“400” y=“118” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id=“Flow_1ccf5za_di” bpmnElement=“Flow_1ccf5za”>
<di:waypoint x=“500” y=“118” />
<di:waypoint x=“560” y=“118” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id=“Flow_0zsa73c_di” bpmnElement=“Flow_0zsa73c”>
<di:waypoint x=“660” y=“118” />
<di:waypoint x=“722” y=“118” />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
And you can see there is no problem when design the bpmn. The version is 8.5.6