I have a little embedded subprocess in a BPMN process which I’m having problems with.
It runs fine if we don’t touch the process instance, but since there is a 4 hour duration wait event there, we would like to modify the instance while testing. However, every time we drag the token to the next activity (the service task) and the subprocess completes, it simply ends there. We were expecting the process instance to continue down the sequence flow.
We are using Camunda 7.9.2.
The log when this occurs is
28-Mar-2019 13:14:08.043 WARNING [http-nio-80-exec-315] org.camunda.bpm.engine.rest.exception.RestExceptionHandler.toResponse org.camunda.bpm.engine.rest.exception.InvalidRequestException: Process instance with id d5baade9-5152-11e9-a762-005056a106f3 does not exist
at org.camunda.bpm.engine.rest.sub.runtime.impl.ProcessInstanceResourceImpl.getProcessInstance(ProcessInstanceResourceImpl.java:55)
at sun.reflect.GeneratedMethodAccessor1102.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
…