Create a process instance
Prerequisites
- Run the Zeebe Broker with endpoint
localhost:26500
(default). - Run the deploy a process example.
ProcessInstanceCreator.java
final ProcessInstanceEvent processInstanceEvent =
client
.newCreateInstanceCommand()
.bpmnProcessId(bpmnProcessId)
.latestVersion()
.send()
.join();