When you define a variable a Type and Scope have to be specified. The scope can be Page, Application Flow or Action chain. The variables are enabled within the scope only.