From the course: UiPath: Robotic Process Automation (RPA)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Variable scope

Variable scope

- [Male Instructor] In this video, I want to give you a quick demo of Variable Scope. And in doing so, I'm going to assume that you know what Variable Scope is and why you need it. If you don't know what Variable Scope is or why we need it, be sure to check out my RPA tech primer course. For this demo, I'm going to jump back into Main, and delete this sequence. And let's take a look at our existing variables to see what's there. Notice it's not showing anything. And if I click on Flowchart, it does show variables. So you can see right away, that UiPath will only display variables that are relevant to a given activity we've clicked on. And of course it will also show global variables as well, regardless of which activity you've clicked on. So, for a clean slate, I'm going to delete all of these variables ... so we start with nothing. And to give us a little more real estate, I'm going to close up this ribbon, and move this to the side. So, as you can see, I have a flowchart here, which…

Contents