public Map<String, Object> getVariables(String executionId, Set<String> variableNames) {
return commandService.execute(new GetExecutionVariablesCmd(executionId, variableNames));
}
public void setVariable(String executionId, String name, Object value) {
SetExecutionVariablesCmd cmd = new SetExecutionVariablesCmd(executionId);
cmd.addVariable(name, value);
commandService.execute(cmd);
}