# Set Variables plugin

**URL:** <https://community.automationedge.com/t/set-variables-plugin/1948>\
**Category:** Get Help & Discuss\
**Tags:** rpa\
**Created:** [April 10, 2020, 7:57am UTC](https://community.automationedge.com/t/set-variables-plugin/1948 "2020-04-10T07:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rachana](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Rachana](https://community.automationedge.com/u/Rachana)\
**Post date:** [April 10, 2020, 7:57am UTC](https://community.automationedge.com/t/set-variables-plugin/1948/1 "2020-04-10T07:57:18Z")

</div>

What is the difference between all variable scope types in Set Variables step of Process plugin ?

---

<div class="post-metadata">

**Author:** ![archana.muley](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@archana.muley](https://community.automationedge.com/u/archana.muley)\
**Post date:** [April 10, 2020, 7:59am UTC](https://community.automationedge.com/t/set-variables-plugin/1948/2 "2020-04-10T07:59:02Z")

</div>

Hi Rachana,  
Below are four different types of variable scope and its differences,

1. Valid in the virtual machine: the complete virtual machine will know about this variable.
2. Valid in the parent process: the variable is only valid in the parent process.
3. Valid in the grand-parent process: the variable is valid in the grand-parent process and all the child processes and workflows.
4. Valid in the root process: the variable is valid in the root process and all the child processes and workflows.

Thanks & Regards,  
Archana Muley
