Hi All
i have one process, that have two service tasks and zero/more Call Activities that subprocess many have subprocess(callactivities),
i want to suspend a process instance using main process’s instanceid, using following code, but not suspending.
@RequestMapping(value=“suspendProcess”, method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
public String suspendProcess(HttpServletRequest request, @RequestParam(“processInsId”) String processInsId) {
runtimeService.suspendProcessInstanceById(processInsId);
return “suspendProcess”;
}