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); // 设置多个流程变量
}
时间: 2024-10-20 01:51:17