Skip to main content

Create a process instance

Prerequisites​

  1. Running Zeebe broker with endpoint localhost:26500 (default)
  2. Run the deploy a process example

ProcessInstanceCreator.java​

Source on github

final ProcessInstanceEvent processInstanceEvent =
client
.newCreateInstanceCommand()
.bpmnProcessId(bpmnProcessId)
.latestVersion()
.send()
.join();