TryCatch - Get activity: "DisplayName"


#1

Iv Tried Multiple ways to get the “DisplayName” attribute when a process fails. is this even possible with UI path?

I have tried a Trycatch, and attempted to get the by using “exception.Source.tostring” , but it never returns the DisplayName of the Activity that gave the error.

How can this be done without having to load the log files, which will show the Displayname. .

PLEASE HELP! :slight_smile: @badita
.


#2

You are right.

It seems it is working only if you use Invoke (to another file). We’ll investigate.
See the attached workflows and run Main.

Click.xaml (5.1 KB)
Main.xaml (6.0 KB)