Scope with specified activity Id Resolve_Event_SubProcess and execution 9e3d1686-1edd-11e9-b490-507b9dc4ed46 not found

Getting below error:

[org.camunda.bpm.engine.context] [logError] @ 156 : ENGINE-16006 BPMN Stack Trace:
	StartEvent_Review (activity-start, ProcessInstance[9e3d1686-1edd-11e9-b490-507b9dc4ed46])
	StartEvent_Review, name=Review
 
[org.camunda.bpm.engine.context] [logError] @ 156 : ENGINE-16004 Exception while closing command context: ENGINE-20011 Scope with specified activity Id Resolve_Event_SubProcess and execution 9e3d1686-1edd-11e9-b490-507b9dc4ed46 not found 
org.camunda.bpm.engine.ProcessEngineException: ENGINE-20011 Scope with specified activity Id Resolve_Event_SubProcess and execution 9e3d1686-1edd-11e9-b490-507b9dc4ed46 not found
	at org.camunda.bpm.engine.impl.pvm.PvmLogger.scopeNotFoundException(PvmLogger.java:79)
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.findExecutionForFlowScope(PvmExecutionImpl.java:1618)
	at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.setVariable(PvmExecutionImpl.java:1590)
	at com.operative.camunda.listeners.avails.ResolveTimerExecutionListener.notify(ResolveTimerExecutionListener.java:37)

Hey, could you please give us more details, when does this exceptions occur, an example of your process would be helpful as well.

1 Like

I was using camunda Rest api to start process instance with process variables.

Exception:
ENGINE-16004 Exception while closing command context: Unknown property used in expression: ${taskResolveDate}. Cause: Cannot resolve identifier 'taskResolveDate'

workflownew.bpmn (9.4 KB)

ProcessVariable:

{
  "variables": {
    "taskResolveDate" : {
        "value" : "2019-01-24T00:00:000Z",
        "type": "String"
    }
  }
}

This issue was solved in the post: