Even though you can create most filters simply by using the Common Activities options, you should understand how they are coded.
•Switch to the Visual LANSA editor where the filter is open.
•Review the generated source code in the Source tab to see how the filter adds data to the instance list: