From AB knowledge base
An 'Undeclared Identifiers' error will be seen after building when the controller does not recognize the variable. You can either:
create a new variable or
select a variable the controller recognizes.
To create a new variable, open the Global (or Local) Variables folder and configure the new variable Name, Data Type, etc.
To select an existing variable, click on the top of the variable block. From here, you will get a drop down menu of all existing variable names that can be assigned to that location. Scroll down to view all recognized variables.his
Also this
Be careful with copying and pasting text in Connected Component Workbench Structured Text editor, especially from sources like PDF files. It may happen that you copy some non-visible characters which cause the Build process to f