How to get the workflow name in catch block for unknown execption

Hi,

Can you try the following in the catch state?

faultedDetails = exception.Data("FaultedDetails")
workflowName = faultedDetails.GetType().GetProperty("WorkflowFile").GetValue(faultedDetails, Nothing).ToString

Note: faultedDetails is object type

Regards,

5 Likes