Constructing flow, subflow, and group global variables from user global variables