Use of set variable

What is use of scop present in set variable

Hi Sandesh
Define the scope of the variable, possible options are:

· Valid in the virtual machine: The complete virtual machine will know about this variable.

· Valid in the parent process: The variable is only valid in the parent process.

· Valid in the grand-parent process: The variable is valid in the grand-parent process and all the child processes and workflows.

· Valid in the root process: The variable is valid in the root process and all the child processes and workflows.