QuestionQ347

UiPath Automation Development

In a UiPath Studio project, what is the widest scope a variable can have?

  • A Outermost workflow component in the current xaml project file.
  • B Global, available in the entire project.
  • C Within the activity in which it is defined.
  • D Within the surrounding "Do" or "Body" sequence.
Explanation

UiPath Studio variable scope can be global, the current workflow file, or a container activity within that file. A global variable is available throughout the entire project, making it the broadest scope.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!