String[] pids = processInstanceId.split(",");
ProcessEngine engine = getTransactionProcessEngine(userId);
try{
RuntimeService runtimeService = engine.getRuntimeService();
for(String tmp:pids){
runtimeService.suspendProcessInstance(tmp);
}
}finally{
closeProcessEngine();
}