Create a workflow instance
Prerequisites​
- Running Zeebe broker with endpoint
localhost:26500
(default) - Run the deploy a workflow example
WorkflowInstanceCreator.java​
final WorkflowInstanceEvent workflowInstanceEvent =
client
.newCreateInstanceCommand()
.bpmnProcessId(bpmnProcessId)
.latestVersion()
.send()
.join();