I want to display activity name of an element if any exception thrown because of that activity. I already gone through our community and it is said we need to invoke main flow to get activity name but I am not able to get it. Could anyone pls explain with sample xaml so I can understand better
You have to assign workflowname and capture the exception…
else , use try catch for every activity , in the catch area along with the exception ,you mention your activity name .In that way you can find the exception along with your activity name easily.