How to get DisplayName of an activity?

Hi

I can’t get DisplayName of an activity my way. I know that activity name is also stored in exception.Source variable but not all the time. Sometimes, there is something like “SAP Window” etc. in this variable so I wanted to do that through exception.Data.Values and match DisplayName value. I tried to get it with Each Loop with ICollection but it doesn’t work and there is no variable such as “UiPath.Service.Api.FaultedDetails”.

Could you please help me?

DisplayName.zip (8.1 KB)

Thanks.

2 Likes

Did you find the solution to this?

1 Like