Skip to main content
Version: latest

Create a process instance with results


  1. Running Zeebe broker with endpoint localhost:26500 (default)
  2. Run the deploy a process example. Deploy demoProcessSingleTask.bpmn instead of demoProcess.bpmn

Source on github

final ProcessInstanceResult processInstanceResult =
.withResult() // to await the completion of process execution and return result
"Process instance created with key: "
+ processInstanceResult.getProcessInstanceKey()
+ " and completed with results: "
+ processInstanceResult.getVariables());