Global and variable parameter

Is it mandatory to get the parameter in ${GLOBAL.VarName} this format?

Depends, If We set Var from Set VS variable Plugin

if we set the variable through set ps variable plugin then it is not mandatory