Skip to content

BPMN Spec 2.0.0

Compare
Choose a tag to compare
@saig0 saig0 released this 12 Jul 04:43
9577377

⚠️ 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

Changelog

  • feat(runner): rename workflow to process (#85)
  • build(deps) update to Zeebe 1.0.0 (#80)
  • feat(zeebe): start containers in parallel (#84)
  • build(deps): bump kotlin.version from 1.4.31 to 1.5.20 (#76)