Custom activity name in exception

When getting exception inside a custom-named activity I want to log that activity name in catch block of try-catch which surrounds that custom-named activity.
Here in this forum were suggestions to use a global variable assigned the name of custom-named activity before actual executing of the activity. Another way suggested - to enclose the activity into workflow.
Both ways are very inconvinient. It would be very useful to have a field “CustomActivityName” in exception.


The following post might help you.

Please note that it’s necessary to use InvokeWorkflowFile activity.