Deploy a process
Related resources
Prerequisites
Run the Zeebe Broker with endpoint localhost:26500
(default).
ProcessDeployer.java
final DeploymentEvent deploymentEvent =
client.newDeployResourceCommand()
.addResourceFromClasspath("demoProcess.bpmn")
.send()
.join();
demoProcess.bpmn
Download the XML and save it in the Java classpath before running the example. Open the file with Desktop Modeler for a graphical representation.