[jboss-user] [jBPM] - ExecutionService.setVariable() Question

Yongtao You do-not-reply at jboss.com
Fri Oct 1 15:05:10 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101001/c1edcc16/attachment.html 


More information about the jboss-user mailing list