Activity display name in Try-catch


Iam trying to get the activity display name using exception.source in exception is not displaying it,is there any other way to display the display activity name.

thanks in advance

Please post a screenshot as of what result it is displaying.

Hi @hemadri_kamatham,

The correct syntax should resemble the following screenshot:

I hope it helps a bit.

1 Like


Actually it is displaying the selctors and message but i want the Activity Name,for example i have a click activity where i rename it as “click on submit” now when the error is occured at click event the exception throws the selectors and message but i want “Click on Submit” message