@RequestMapping("console-doUpdateProcess")
public String doUpdateProcess(
@RequestParam("processDefinitionId") String processDefinitionId,
@RequestParam("xml") String xml) throws Exception {
byte[] bytes = xml.getBytes("utf-8");
UpdateProcessCmd updateProcessCmd = new UpdateProcessCmd(
processDefinitionId, bytes);
processEngine.getManagementService().executeCommand(updateProcessCmd);
return "redirect:/bpm/console-listProcessInstances.do";
}