Hi Arpit,
This will only cover the same process instance.
But it would be not hard to expand this functionality to support the process instance including sub process instances. If you need this functionality, can you create a Github issue?
Best regards,
Tijs