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?

Hi Boobathi,
i postet a solution today in this topic:

@mwerner Hi Markus, thanks for the activity! Have been using it, although seem to be having some odd issue since loading where I can no longer search for activities in the pane. Just wondering which versions of Studio are compatible?

Thx! Adrienne