consider something like:
Where the script task is running something like:
execution.getProcessEngineServices().getRuntimeService().startProcessInstanceByKey("someProcess")
If someProcess
is in a different tenant than the above BPMNs, then the following occurs:
- Without timer, the
startProcessInstanceByKey
finds thesomeProcess
in the other tenant and starts the process instance - With the timer / when async, the
startProcessInstanceByKey
cannot find thesomeProcess
in the other tenant.
Why does async create this error? What is different about the async execution that would cause this?
Thanks!