BPMN Spec 2.0.0
⚠️ Compatibility
This version is compatible with Zeebe 1.0.0
or new versions.
But this version is not compatible with Zeebe 0.26.4
or older versions.
🔥 Notes
This version breaks the compatibility with previous versions of the library. In the spec, all names were renamed from workflow
to process
. The new naming align with Zeebe 1.0.0.
Example
Before in version 1.0.0
resources:
- exclusive-gateway.bpmn
testCases:
- name: fulfill-condition
description: should fulfill the condition and enter the upper task
actions:
- action: create-instance
args:
bpmn_process_id: exclusive-gateway
workflow_instance_alias: wf1
- action: complete-task
args:
job_type: a
variables: '{"x":8}'
verifications:
- verification: workflow-instance-state
args:
workflow_instance: wf1
state: completed
Now in version 2.0.0
resources:
- exclusive-gateway.bpmn
testCases:
- name: fulfill-condition
description: should fulfill the condition and enter the upper task
actions:
- action: create-instance
args:
bpmn_process_id: exclusive-gateway
process_instance_alias: pi1
- action: complete-task
args:
job_type: a
variables: '{"x":8}'
verifications:
- verification: process-instance-state
args:
process_instance: pi1
state: completed