Getting the name of the current workflow that the bot is running

Hi,

Do you need it in exception handling? If so, the following will help you.

We can get workflow name using the following expression.

faultedDetails.GetType().GetProperty("WorkflowFile").GetValue(faultedDetails, Nothing).ToString

Regards,