What is the maximum scope a variable can have in an automation project?
What is the maximum scope a variable can have in an automation project?
In an automation project, the maximum scope a variable can have is within the outermost container in the current xaml project file it is defined in. This is because variables are limited to the context of the xaml file they are declared in and cannot inherently be accessed across different xaml files unless explicitly passed through arguments.
I think the answer should be D. Example: Main.xaml file can have multiple invoked workflows and if a variable is passed in the Main.Xaml then that variable will be exposed to all those invoked workflows.
The answer is A. The variables will not be exposed directly to all workflows. Only through arguments, we can pass the values to invoked workflows.