As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
runtimeProcessId = runtimeService.startProcessInstanceByKey(processId,vars).getId(); // I want to see the access the stack trace if something went wrong. // something like below // runtimeService.getExceptionStacktrace( runtimeProcessId ) ;
runtimeService.startProcessInstanceByKey(processId,vars);
try {<br> runtimeService.startProcessInstanceByKey(processId,vars);<br>}catch(ActivitiException e) {<br> // do sth about it<br>}
<br>List<Job> jobs = managementService.createJobQuery().list();<br>