Skip to content

Instantly share code, notes, and snippets.

@huksley
Last active January 30, 2020 06:38
Show Gist options
  • Save huksley/c5533f0673539aa22cb1b300a2c792da to your computer and use it in GitHub Desktop.
Save huksley/c5533f0673539aa22cb1b300a2c792da to your computer and use it in GitHub Desktop.
> zbctl --address $CONTACTPOINT_ADDRESS:443 status \
--clientId $CLIENTID --clientSecret $CLIENTSECRET \
deploy detect-faces-zeebe.bpmn
Error: rpc error: code = InvalidArgument desc = Command rejected with code 'CREATE': Expected to deploy new resources, but encountered the following errors:
'detect-faces-zeebe.bpmn': - Element: ErrorEventDefinition_0hgorsz
- ERROR: ErrorCode must be present and not empty
- Element: ErrorEventDefinition_1ropsen
- ERROR: ErrorCode must be present and not empty
- Element: ErrorEventDefinition_13mgmyc
- ERROR: Must reference an error
- Element: IntermediateThrowEvent_14k3r67
- ERROR: Must have exactly one event definition
> zbctl --address $CONTACTPOINT_ADDRESS:443 status \
--clientId $CLIENTID --clientSecret $CLIENTSECRET \
deploy detect-faces-zeebe.bpmn
{
"key": 2251799813688077,
"workflows": [
{
"bpmnProcessId": "Process_1j8gwvl",
"version": 1,
"workflowKey": 2251799813688076,
"resourceName": "detect-faces-zeebe.bpmn"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment