Zeebe Workflow Generator

This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.

License

License

GroupId

GroupId

io.zeebe
ArtifactId

ArtifactId

zeebe-workflow-generator
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Zeebe Workflow Generator
This pom defines the required plugins and profiles to allow a camunda release build. Inherit this pom when you want to release your project into the camunda nexus and/or maven central.
Project Organization

Project Organization

Camunda Services GmbH
Source Code Management

Source Code Management

https://github.com/zeebe-io/zeebe-workflow-generator

Download zeebe-workflow-generator

How to add to project

<!-- https://jarcasting.com/artifacts/io.zeebe/zeebe-workflow-generator/ -->
<dependency>
    <groupId>io.zeebe</groupId>
    <artifactId>zeebe-workflow-generator</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.zeebe/zeebe-workflow-generator/
implementation 'io.zeebe:zeebe-workflow-generator:1.0.2'
// https://jarcasting.com/artifacts/io.zeebe/zeebe-workflow-generator/
implementation ("io.zeebe:zeebe-workflow-generator:1.0.2")
'io.zeebe:zeebe-workflow-generator:jar:1.0.2'
<dependency org="io.zeebe" name="zeebe-workflow-generator" rev="1.0.2">
  <artifact name="zeebe-workflow-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.zeebe', module='zeebe-workflow-generator', version='1.0.2')
)
libraryDependencies += "io.zeebe" % "zeebe-workflow-generator" % "1.0.2"
[io.zeebe/zeebe-workflow-generator "1.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
io.zeebe : zeebe-bpmn-model jar 0.25.3
info.picocli : picocli jar 4.6.1

test (2)

Group / Artifact Type Version
org.assertj : assertj-core jar 3.18.1
org.junit.jupiter : junit-jupiter-api jar

Project Modules

There are no modules declared in this project.

Zeebe Workflow Generator

This project provides a tool to automatically generate workflows for Zeebe.

These workflows can be used in automated tests and performance benchmarks.

Usage

The workflow generators can either be used as a Java dependency, or they can be invoked from the command line.

General CLI Usage

Usage: [-hV] [-i=<workflowId>] [-o=<outputFile>] COMMAND
Creates workflows
  -h, --help      Show this help message and exit.
  -i, --workflowID=<workflowId>
                  ID for the workflow to be generated, defaults to "workflow"
  -o, --output=<outputFile>
                  File to write the workflow to, defaults to "workflow.bpmn"
  -V, --version   Print version information and exit.
Commands:
  sequence  Generates a sequential workflow with a given number of steps.

Sequence Workflow

This will produce a sequential workflow with a given number of steps and a given jobtype.

Output of sequence command

  -j, --jobType=<jobType>   Job type for steps in workflow, defaults to "job"
  -s, --steps=<steps>       Number of steps in workflow, defaults to "5"

End-to-End Timing Workflow

This will produce a workflow like this:

Output of e2e-timing command

The created workflow starts a timer, then calls the workflow that should be timed, and stops the timer at the end.

Optionally, you can also define a timeout. When the timeout is reached the workflow that should be timed will be aborted.

Output of e2e-timing command with timeout

  -t, --timeout=<timeout>   Timeout after which workflow execution should be
                              aborted
      -wut, --workflow-under-test-id=<workflowUnderTestId>
                            (Mandatory) ID of the workfow that should be
                              measured

Outlook

  • Generate workflow that calls another workflow n times
  • Generate workflow that calls another workflow again and again until a certain time has passed
  • Generate a number of workflows: a sequence workflow, called by a timing workflow, called by a repeat n times workflow, called by another timing workflow. The net result would be a bunch of workflow descriptions with one big start event. Once started, the innermost workflow will be executed n times. Each execution is timed, and the aggregate of all executions is timed. This is - in essence - a very simple benchmark setup
io.zeebe
This organization contains the internal repositories of the Zeebe development team. Please visit https://github.com/camunda-cloud/zeebe for the Zeebe repository

Versions

Version
1.0.2
1.0.1
1.0.0
0.0.1