Defining Global Variables To define global variables, perform the following steps: Procedure Go to the Project Explorer and navigate to your Sample project. Right click on Package Name (For example, Sample) and select New > Data Field. Copyright © Cloud Software Group, Inc. All Rights Reserved.