mirror of
https://github.com/xuhuisheng/lemon.git
synced 2026-10-19 07:11:54 +08:00
13 lines
638 B
Plaintext
13 lines
638 B
Plaintext
<%@page contentType="text/html;charset=UTF-8"%>
|
|
<%@page import="org.springframework.context.ApplicationContext"%>
|
|
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
|
|
<%@page import="org.activiti.engine.ProcessEngine"%>
|
|
<%@page import="com.mossle.bpm.cmd.SyncProcessCmd"%>
|
|
<%
|
|
ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(application);
|
|
ProcessEngine processEngine = (ProcessEngine) ctx.getBean("processEngine");
|
|
|
|
String processDefinitionId = request.getParameter("id");
|
|
processEngine.getManagementService().executeCommand(new SyncProcessCmd(processDefinitionId));
|
|
%>
|