Skip to main content

Create a process instance

Prerequisites​

  1. Run the 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();