How to get dynamically physical Xaml file name of currently running



I would like to get the name of the file name dynamically which is running in Uipath.


I’m invoking the Sample.Xaml file and there is exception inside this file ,In catch block calling ExceptionLog.Xaml, this file one of the parameter is “which file” caught the issue .How can I get the physical Xaml file name .


I have a similar problem.
Did you find an answer?
I think filename should be accessible through System.Reflection but am not sure how…


Did you check this?