Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference model for getting started tutorial fails to deploy #4421

Closed
pinkertonpg opened this issue Apr 29, 2020 · 1 comment · Fixed by #4427
Closed

Reference model for getting started tutorial fails to deploy #4421

pinkertonpg opened this issue Apr 29, 2020 · 1 comment · Fixed by #4427
Labels
kind/documentation Categorizes an issue or PR as documentation related

Comments

@pinkertonpg
Copy link
Contributor

Description

This finished workflow model linked to in the Getting Started Tutorial does not deploy on Zeebe 0.23.1: https://github.com/zeebe-io/zeebe/blob/0.23.1/docs/src/getting-started/img/order-process.bpmn

Attempting to deploy it gives me two errors, referencing missing '='.

$ zbctl --insecure deploy order-process.bpmn 
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').

Environment
I have Zeebe cluster and operate running in a Kubernetes cluster, using the helm charts.

zbctl status

``` $ zbctl --insecure status Cluster size: 3 Partitions count: 3 Replication factor: 3 Gateway version: 0.23.1 Brokers: Broker 0 - master-zeebe-0.master-zeebe.pgp-zeebe.svc.cluster.local:26501 Version: 0.23.1 Partition 1 : Leader Partition 2 : Follower Partition 3 : Follower Broker 1 - master-zeebe-1.master-zeebe.pgp-zeebe.svc.cluster.local:26501 Version: 0.23.1 Partition 1 : Follower Partition 2 : Leader Partition 3 : Follower Broker 2 - master-zeebe-2.master-zeebe.pgp-zeebe.svc.cluster.local:26501 Version: 0.23.1 Partition 1 : Follower Partition 2 : Follower Partition 3 : Leader ```

Possible fix?
Disclaimer, I'm just an infrastructure person trying to set up and test out Zeebe, I know nothing of BPMN so this might not be an appropriate fix.

I was able to get this to deploy properly by changing the two references to orderID and orderValue in the .bpmn to =orderID and =orderValue. It then deployed successfully and I was able to view the workflow in Operate. If it's that simple I'm happy to open a PR, but would want some confirmation that it's a valid fix first.

@pinkertonpg pinkertonpg added the kind/documentation Categorizes an issue or PR as documentation related label Apr 29, 2020
@saig0
Copy link
Member

saig0 commented Apr 30, 2020

Hi @pinkertonpg 👋

Thank you for reporting this! You're right that the equal signs = are missing in the BPMN workflow.
Looking forward to see your PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes an issue or PR as documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants