Testing process on BPM platform

Hi,

I have a problem when testing a process on BPM platform.I get the error message 'Cannot submit task form … Cannot find scripting language for $(approved).

This is the code relative to the exclusive gateway.
indent preformatted text by 4 spaces

<bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="UserTask_1"/> <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="UserTask_1" targetRef="ExclusiveGateway_1"/> <bpmn2:exclusiveGateway id="ExclusiveGateway_1"> <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming> <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing> <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing> </bpmn2:exclusiveGateway> <bpmn2:sequenceFlow id="SequenceFlow_3" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_1"> <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="$(approved)"/> </bpmn2:sequenceFlow>

Hi,

Have a look at the exclusive gateway documentation for how the XML should look like: https://docs.camunda.org/manual/7.7/reference/bpmn20/gateways/exclusive-gateway/

Cheers,
Thorben

Thanks a lot for the link. However I cannot configure the exclusive gateway properly when the answer is not approved

<bpmn2:sequenceFlow id="SequenceFlow_4" name="No" sourceRef="ExclusiveGateway_1" targetRef="UserTask_2">
  <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">${not approved}</bpmn2:conditionExpression> 
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="UserTask_2" targetRef="UserTask_1"/>
<bpmn2:endEvent id="EndEvent_1">
  <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
</bpmn2:endEvent>

What’s the error you get when you deploy the process and then start a process instance?