ProcessEngine processEngine = getProcessEngine(userId);
ScheduleService scheduleService = processEngine.getScheduleService();
String triggerKeyName = StringUtil.getString(params.get("triggerKeyName"));
String triggerKeyGroup = StringUtil.getString(params.get("triggerKeyGroup"));
try{
scheduleService.suspendTrigger(triggerKeyName, triggerKeyGroup);
}finally{
closeProcessEngine();
}
}