Old Reframework workfiles issue with global variables

Hello,

I’m was creating a custom template based on the Reframework. While doing so i was moving the Config variable to global variables and found an issue in the 2024.10.1 Reframework template(RetryCurrentTransaction.xml).

I cannot call global variables at all. Not even with the syntax GlobalVariablesNamespace.GlobalVariables.Config and having the correctly imported namespaces.

The solution i found is to create a new XML file and use that.

If someone could update the Reframework template and update the files that would be awesome.

Thanks.

Hi @Marica_Alexandru,

That should not be the case.

We also have customized re-framework template at our end and we use it all the time.

Once you have created your project with the template, you can make changes in it per your need.

Could you share more details how are you making config the global variable?
Are you setting its scope as “general business process” and then try to use it?

Regards
Sonali

Hi @Marica_Alexandru

Yes, I think this is a known limitation in UiPath 2024.10.1 where RetryCurrentTransaction.xml doesn’t recognize global variables due to XAML scope limitations. Creating a new XAML and referencing global variables there is currently the most effective workaround. Until UiPath updates the official ReFramework template to support global variables consistently across all XAMLs, this manual adjustment is necessary.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.