This might sound like a strange question: Do you really need to do this to achieve your goal?
I’ve built a few apps and can’t recall an occasion when this was needed.
I was wondering if you could explain step by step what you want to achieve, perhaps provide some images or a BSV, and there is probably a more convenient method.
I hope you don’t take my reply the wrong way. I just want to make sure that we are not making things more complicated than they have to be.
The closest thing that comes to mind is to edit the Save button of your form and use the “execute process after saving” functionality.