Skip to main content

Deploy a workflow

Prerequisites​

  1. Running Zeebe broker with endpoint localhost:26500 (default)

WorkflowDeployer.java​

Source on github

final DeploymentEvent deploymentEvent =
client.newDeployCommand()
.addResourceFromClasspath("demoProcess.bpmn")
.send()
.join();

demoProcess.bpmn​

Source on github

Download the XML and save it in the Java classpath before running the example. Open the file with Zeebe Modeler for a graphical representation.