Run Code Before & After Every UiPath Activity (TrackingParticipant + a Reflection Bridge)
There's no public hook to run code around every UiPath activity in the Robot. CoreWF's TrackingParticipant gets you the events, and a small reflection bridge into the live executor attaches it from inside a running workflow — so a single Super Initialize activity instruments the whole run.