public static void mian(String args[]){
ProcessEngine processEngine = ProcessEngine.getDefaultProcessEngine();
RuntimeService runtimeService = processEngine.getRuntimeService();
runtimeServie.setVariable(executionId,variablename,value); // 设置一个流程变量
Map variables = new HashMap<String,Object>();
runtimeServie.setVariable(executionId,variables); // 设置多个流程变量
}
感谢您的阅读,您的支持是我写博客动力。