[jboss-user] [jBPM] - Re: Variables Scoped only to the Task

Michael Wohlfart do-not-reply at jboss.com
Fri Sep 17 09:01:45 EDT 2010

Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

"Re: Variables Scoped only to the Task"

To view the discussion, visit: http://community.jboss.org/message/562424#562424

You might be able to do this programmatically if you try this:

EnvironmentImpl environment = processEngine.openEnvironment();
try {
  task.createVariable("variableName", "variableContent", null, false);
  transitionChoiceVariable = task.getVariableObject("variableName");
} finally {

this should create a variable that is no longer linked to the execution but still to the task

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list