Skip to main content

Deploy a process

Prerequisites​

Run the Zeebe broker with endpoint localhost:26500 (default).

ProcessDeployer.java​

Source on GitHub

final DeploymentEvent deploymentEvent =
client.newDeployResourceCommand()
.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 Desktop Modeler for a graphical representation.