Version: latest

Create a workflow instance

Prerequisites#

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

WorkflowInstanceCreator.java#

Source on github

final WorkflowInstanceEvent workflowInstanceEvent =
client
.newCreateInstanceCommand()
.bpmnProcessId(bpmnProcessId)
.latestVersion()
.send()
.join();