How to get activity name and storein variable

anyway to get activity name and store in variable

get

like you can see in a picture activity name is activity1 i want to get this activity name and store in variable

get

Hi

You can get the name if there is a system exception. To do this, you need to capture the name in the workflow “SetTransactionStatus” using an assing and inserting “Exception.Source.ToString”.

Hopefully this helps,