In the xaml invoked from the Main.xaml,
When I use the “Get Xaml File Name” activity in the package “Alphabet Workflow Activities” (v2.3.0) to get the XamlFileName, I get “DynamicActivity” instead of the xaml name.
※When I use that activity in Main.xaml, it works fine (gets “Main”).
Also, I recently upgraded the version of UiPath from 2020.10 to 2022.10.4.
Before the upgrade, it always works fine.
[Question 1]
I would like to know if you know how to successfully get the xaml file name using the “Get Xaml File Name” activity.
[Question 2]
I would like to know if there is another way to get the xaml file name automatically.
Question 1: If the “Get Xaml File Name” activity in an invoked XAML file returns “DynamicActivity,” it might be due to a compatibility issue or bug in the specific package version. Check for updates, review release notes, and consider seeking support from the package developer’s community.
Question 2: To get the XAML file name automatically in an invoked workflow, pass the XAML file name as an argument when invoking the workflow from the Main.xaml. This provides a reliable way to access the XAML file name within the invoked workflow.