Lets say, I have a an activity which can post information to downstream application by calling a stored procedure.
This activity has to send work item snapshot in everty transaction.
Examples: sla agent changes urgency, workitem is reassigned, workitem is resolved. suspeneded, etc..
so in all the above places we are calling that posttodownstreamactivity. so it has somany references. some times its failing. so we wanted to log the failure and wanted to know in which path its failing.
so in runtime we need to know the calling activity of this. for logging/emailing based on that.