Skip to content

Commit

Permalink
Merge #4427
Browse files Browse the repository at this point in the history
4427: docs(getting-started): fix tutorial BPMN workflow r=saig0 a=pinkertonpg

## Description

Per error received when deploying the example workflow, expressions must start with '=':
```
Error: rpc error: code = InvalidArgument desc = Command rejected with code 'CREATE': Expected to deploy new resources, but encountered the following errors:
'order-process.bpmn': - Element: Message_155nrcd > extensionElements > subscription
    - ERROR: Expected expression but found static value 'orderId'. An expression must start with '=' (e.g. '=orderId').
- Element: SequenceFlow_1girnrf > conditionExpression
    - ERROR: Expected expression but found static value 'orderValue>=100'. An expression must start with '=' (e.g. '=orderValue>=100').
```

## Related issues

Closes #4421

#

Co-authored-by: Patrick Pinkerton <ppinkerton@ezcater.com>
  • Loading branch information
zeebe-bors[bot] and pinkertonpg committed May 1, 2020
2 parents bf5d2fa + 121e2f3 commit 629483b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/getting-started/img/order-process.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<bpmn:outgoing>SequenceFlow_08vb0ur</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_1girnrf" name="&#62;=$100" sourceRef="ExclusiveGateway_05lcnr8" targetRef="ServiceTask_1a7kbmc">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">orderValue&gt;=100</bpmn:conditionExpression>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=orderValue&gt;=100</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="ExclusiveGateway_05ptfs8">
<bpmn:incoming>SequenceFlow_1rl28fn</bpmn:incoming>
Expand All @@ -56,7 +56,7 @@
</bpmn:process>
<bpmn:message id="Message_155nrcd" name="payment-received">
<bpmn:extensionElements>
<zeebe:subscription correlationKey="orderId" />
<zeebe:subscription correlationKey="=orderId" />
</bpmn:extensionElements>
</bpmn:message>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
Expand Down

0 comments on commit 629483b

Please sign in to comment.