Skip to main content
Version: 8.3

Evaluate a decision

Prerequisites

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

EvaluateDecisionCreator.java

Source on GitHub

final EvaluateDecisionResponse decisionEvaluation =
client
.newEvaluateDecisionCommand()
.decisionId(decisionId)
.variables("{\"lightsaberColor\": \"blue\"}")
.send()
.join();

System.out.println("Decision evaluation result: " + decisionEvaluation.getDecisionOutput());