Package org.activiti.rest.service.api.runtime.task

Examples of org.activiti.rest.service.api.runtime.task.TaskResponse.addVariable()


    }
   
    if (task.getProcessVariables() != null) {
      Map<String, Object> variableMap = task.getProcessVariables();
      for (String name : variableMap.keySet()) {
        response.addVariable(createRestVariable(name, variableMap.get(name),
            RestVariableScope.GLOBAL, task.getId(), VARIABLE_TASK, false, serverRootUrl));
      }
    }
    if (task.getTaskLocalVariables() != null) {
      Map<String, Object> variableMap = task.getTaskLocalVariables();
View Full Code Here


      }
    }
    if (task.getTaskLocalVariables() != null) {
      Map<String, Object> variableMap = task.getTaskLocalVariables();
      for (String name : variableMap.keySet()) {
        response.addVariable(createRestVariable(name, variableMap.get(name),
            RestVariableScope.LOCAL, task.getId(), VARIABLE_TASK, false, serverRootUrl));
      }
    }
   
    return response;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.