Yongtao You [
http://community.jboss.org/people/yongtao] created the discussion
"ExecutionService.setVariable() Question"
To view the discussion, visit:
http://community.jboss.org/message/564622#564622
--------------------------------------------------------------
Hi,
We are using jBPM 4.3. We start the process execution by
ExecutionService.startProcessInstanceByKey(key, variables);
Half way through the workflow we want to modify one of the variables, say X, so that the
remaining steps will pickup the new value. We tried:
ExecutionService.setVariable(executionId, "X", "new value");
That didn't work. In the remaining steps of the workflow we still see the old value of
X.
What did we do wrong? Any advice?
Thanks!
Yongtao
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/564622#564622]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]