Error Boundary event to catch error response at Receive Task - Correlate error to a process instance

Hi,

I have a Receive task, accepting messages from ActiveMQ and the goal is to move the path to a fallout task on receiving an error response.
How do i achieve this using an Error Boundary event? I’m failing to correlate the error to a particular process instance.