Without property can't deploy bpmn20.xml

Hi,
I want to start the process, without property panel. This is a simple approval process:
Image cannot be uploaded, this is approval.bpmn
i am not set expression and property for gateway, so the server tell me that when i deploy ‘approval.bpmn’:
`

  • Exclusive Gateway ‘ExclusiveGateway_1q3ryzk’ has outgoing sequence flow ‘SequenceFlow_0r6zcf1’ without condition which is not the default flow. | 20190930112725.bpmn20.xml | line 0 | column 0
  • Exclusive Gateway ‘ExclusiveGateway_1q3ryzk’ has outgoing sequence flow ‘SequenceFlow_1gt4hvt’ without condition which is not the default flow. | 20190930112725.bpmn20.xml | line 0 | column 0
    `
    There are two problems. 1. If ** isExecutable = false **, then ** ACT_RE_DEPLOYMENT, ACT_GE_BYTEARRAY ** will generate the corresponding data. Is there any additional interface that can generate ACT_RE_PROCDEF data, or must it be configured and then deployed? In fact, I prefer to configure the nodes and gateways on another new page and then deploy them.
  1. If ** isExecutable = true ** My xml will be verified during deployment, but my gateway is not configured, causing the deployment to fail. How do I configure the node and gateway configuration on the server side manually on the server side? Then go to deployment smoothly.

need you help
evanyang

<?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:di=“http://www.omg.org/spec/DD/20100524/DI” id=“Definitions_157m9j2” targetNamespace=“http://bpmn.io/schema/bpmn” exporter=“Camunda Modeler” exporterVersion=“3.3.2”>
<bpmn:process id=“Process_0pfq99d” isExecutable=“true”>
<bpmn:startEvent id=“StartEvent_1”>
bpmn:outgoingSequenceFlow_0c99meo</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id=“SequenceFlow_0c99meo” sourceRef=“StartEvent_1” targetRef=“Task_0w8evsa” />
<bpmn:userTask id=“Task_0w8evsa”>
bpmn:incomingSequenceFlow_0c99meo</bpmn:incoming>
bpmn:outgoingSequenceFlow_0tmsfmv</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id=“ExclusiveGateway_1q3ryzk”>
bpmn:incomingSequenceFlow_0tmsfmv</bpmn:incoming>
bpmn:outgoingSequenceFlow_1csm3iz</bpmn:outgoing>
bpmn:outgoingSequenceFlow_0r6zcf1</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id=“SequenceFlow_0tmsfmv” sourceRef=“Task_0w8evsa” targetRef=“ExclusiveGateway_1q3ryzk” />
<bpmn:sequenceFlow id=“SequenceFlow_1csm3iz” sourceRef=“ExclusiveGateway_1q3ryzk” targetRef=“Task_11xn104” />
<bpmn:userTask id=“Task_11xn104”>
bpmn:incomingSequenceFlow_1csm3iz</bpmn:incoming>
bpmn:outgoingSequenceFlow_17mql9a</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id=“EndEvent_039grjt”>
bpmn:incomingSequenceFlow_17mql9a</bpmn:incoming>
bpmn:incomingSequenceFlow_0pqkjw8</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id=“SequenceFlow_17mql9a” sourceRef=“Task_11xn104” targetRef=“EndEvent_039grjt” />
<bpmn:sequenceFlow id=“SequenceFlow_0r6zcf1” sourceRef=“ExclusiveGateway_1q3ryzk” targetRef=“Task_1e5619e” />
<bpmn:userTask id=“Task_1e5619e”>
bpmn:incomingSequenceFlow_0r6zcf1</bpmn:incoming>
bpmn:outgoingSequenceFlow_0pqkjw8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id=“SequenceFlow_0pqkjw8” sourceRef=“Task_1e5619e” targetRef=“EndEvent_039grjt” />
</bpmn:process>
<bpmndi:BPMNDiagram id=“BPMNDiagram_1”>
<bpmndi:BPMNPlane id=“BPMNPlane_1” bpmnElement=“Process_0pfq99d”>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement=“StartEvent_1”>
<dc:Bounds x=“179” y=“99” width=“36” height=“36” />
bpmndi:BPMNLabel
<dc:Bounds x=“186” y=“142” width=“22” height=“14” />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id=“SequenceFlow_0c99meo_di” bpmnElement=“SequenceFlow_0c99meo”>
<di:waypoint x=“215” y=“117” />
<di:waypoint x=“270” y=“117” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id=“UserTask_1ybc1oj_di” bpmnElement=“Task_0w8evsa”>
<dc:Bounds x=“270” y=“77” width=“100” height=“80” />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“ExclusiveGateway_1q3ryzk_di” bpmnElement=“ExclusiveGateway_1q3ryzk” isMarkerVisible=“true”>
<dc:Bounds x=“425” y=“92” width=“50” height=“50” />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id=“SequenceFlow_0tmsfmv_di” bpmnElement=“SequenceFlow_0tmsfmv”>
<di:waypoint x=“370” y=“117” />
<di:waypoint x=“425” y=“117” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id=“SequenceFlow_1csm3iz_di” bpmnElement=“SequenceFlow_1csm3iz”>
<di:waypoint x=“475” y=“117” />
<di:waypoint x=“530” y=“117” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id=“UserTask_03qm6sa_di” bpmnElement=“Task_11xn104”>
<dc:Bounds x=“530” y=“77” width=“100” height=“80” />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id=“EndEvent_039grjt_di” bpmnElement=“EndEvent_039grjt”>
<dc:Bounds x=“692” y=“99” width=“36” height=“36” />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id=“SequenceFlow_17mql9a_di” bpmnElement=“SequenceFlow_17mql9a”>
<di:waypoint x=“630” y=“117” />
<di:waypoint x=“692” y=“117” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id=“SequenceFlow_0r6zcf1_di” bpmnElement=“SequenceFlow_0r6zcf1”>
<di:waypoint x=“450” y=“142” />
<di:waypoint x=“450” y=“230” />
<di:waypoint x=“530” y=“230” />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id=“UserTask_0py6z49_di” bpmnElement=“Task_1e5619e”>
<dc:Bounds x=“530” y=“190” width=“100” height=“80” />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id=“SequenceFlow_0pqkjw8_di” bpmnElement=“SequenceFlow_0pqkjw8”>
<di:waypoint x=“630” y=“230” />
<di:waypoint x=“661” y=“230” />
<di:waypoint x=“661” y=“117” />
<di:waypoint x=“692” y=“117” />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

What exactly are you trying to accomplish. Do you want to create an automated process for the engine to execute? In which case you need to add conditions to the gateway.
Are you trying to create a BPMN model which you do not want the engine to run? In this case you don’t need to add conditions, just set isExecutable = false

Hi @evanyangg,

Before you deploy, you can use the BPMN Model API (BPMN Model API | docs.camunda.org) to amend your model with conditions on the sequence flow.

Here are some examples using the Model API: camunda-bpm-examples/bpmn-model-api at master · camunda/camunda-bpm-examples · GitHub

Hope this helps, Ingo

1: use camunda modeler or bpmn.js to create bpmn.xml and deploy.
( I can get the ACT_RE_DEPLOYMENT and ACT_GE_BYTEARRAY data, then I can show it to the user, he can choose the process, the server returns the node and the gateway, he can configure the node and the gateway)
2: Generate process definitions using user-submitted data.
3. A job associates the process definition and starts the process.

This is my idea, I don’t know if it can be achieved?