title: Activiti - how to set condition for exclusive gateway in Java
body: <p>I have an exclusive gateway in Activiti, how I can set the condition variable in Java code for exclusive gateway? </p>
  
  <pre><code>variableData.put("condition", conditionVar);
  taskService.complete(task.getId(), variableData);
  </code></pre>
  
  <p>How I can extract task variable on gateway flow? Is it possible or I have to use process variable?</p>