I have a sub-process where I’m handling BpmnErrors (throwing one inside of service tasks if a job has no retries left).
But Engine seems to be missing output variable inside the service task (Cannot resolve identifier ${…}).
The service task has asyncBefore continuation.
Am I missing something, because there is no such problem when I’m throwing simple java exception (the execution of service task stops in this case).
It might be related to the implementation/technical details of the service task connected to the boundary error event (Notify initiator about an error). Can you please share your model.
Upd:
The engine missing variable “account” in following process.
Tried to replace BPMNError for java exception (and catch by full-qualified classname), and the result hasn’t changed.