AnsweredAssumed Answered

How to set process variables using Activiti handler or BPMN xml

Question asked by sankardunga on Apr 26, 2014
Latest reply on Apr 28, 2014 by martin.grofcik
Hi All,

I struck up with this problem.
Is it possible set process variables inside the work flow process ?

I have a Service Task where I'm generating some common ID for mapping workflow with my functionality to continue the process later.
I want set this common id in process variables, it can using bpmn xml or some other task from Activiti.
Scenario is like, want to set process variables using
                      runtimeService.setVariables(key, value);
So that I get exections IDs using
                      runtimeService.createExecutionQuery().processVariableValueEquals(key, value);

Please guide me to get out from this.