ProcessEngine engine = getTransactionProcessEngine(filter
.get("userId"));
ManagementService mservice = engine.getManagementService();
String taskId = StringUtil.getString(filter.get("taskId"));
try{
mservice.suspendTask(taskId);
}finally{
closeProcessEngine();
}
}