public void setVariablesLocal(String executionId, Map<String, ? extends Object> variables) {
commandExecutor.execute(new SetTaskVariablesCmd(executionId, variables, true));
}
public void updateVariablesLocal(String taskId, Map<String, ? extends Object> modifications, Collection<String> deletions) {
commandExecutor.execute(new PatchTaskVariablesCmd(taskId, modifications, deletions, true));
}