title: How to set global process variables in Camunda-BPM?
body: <p>I have a simple bpmn process
  in which i am using 2 service task,I am executing my process by using
  <code>processEngine.getRuntimeService().startProcessInstanceByKey("Process_1", variables);</code>
  where my variables is as follows:</p>
  
  <pre><code>Map variables = new HashMap();
  variables.put("a", 2);
  variables.put("b", 5);
  </code></pre>
  
  <p>Service task 1 implements an <code>Addition</code> java class and service task 2 implements a <code>Multiplication</code> class.</p>
  
  <p>Now I want to have 3 variables (constants)  <code>c = 5</code>, <code>d = 10</code>, <code>e = 2</code> so that I can use <code>c</code> for service task 1 such that in <code>Addition</code> I can use this variable, similarly I want to use <code>d</code> in my <code>Multiplication</code> class, and <code>e</code> should be global so that I can use it in both classes.</p>
  
  <p>Can anyone guide me on this?</p>