C# client - problems with expressions

Hello,
if have tried to deploy the demo BPMN https://docs.zeebe.io/getting-started/img/order-process.bpmn with the zeebe c# client https://github.com/zeebe-io/zeebe-client-csharp.git

I get the following exception, while trying to deploy the process:

Element: SequenceFlow_1girnrf > conditionExpression
- ERROR: Expected expression but found static value ‘orderValue>=100’. An expression must start with ‘=’ (e.g. ‘=orderValue>=100’).

  • Element: Message_155nrcd > extensionElements > subscription
    • ERROR: Expected expression but found static value ‘orderId’. An expression must start with ‘=’ (e.g. ‘=orderId’).
      ")’

The expression, which is causing the problem, looks fine to me:

<bpmn:sequenceFlow id=“SequenceFlow_1girnrf” name=">=$100" sourceRef=“ExclusiveGateway_05lcnr8” targetRef=“ServiceTask_1a7kbmc”>

<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”>orderValue>=100</bpmn:conditionExpression>

</bpmn:sequenceFlow>

Does anyone has the same problem?

Best

Clemens

Hey @ClemensTan

this is unrelated to the C# Client.

It is actually a breaking change in the Broker and also covered in this slack post https://zeebe-io.slack.com/archives/C6WGNHV2A/p1586860536144000?thread_ts=1586860536.144000&cid=C6WGNHV2A

Screenshot_20200415-173232_Slack

You can take this tool https://github.com/zeebe-io/zeebe-upgrade to upgrade your deployments.

Greets
Chris

1 Like

Hey Chris,
thank you very much for the help. This fixed my problem :slight_smile:

Best
Clemens

1 Like