In the SMP logs, te following informational message is seen:
"Invalid collection definition query found for collection '<NAME OF FILTER>t' (<GUID OF FILTER>). Incorrect number of columns returned from the query. 1 GUID column is expected, but 2 is found. Collection membership update will ignore the other columns and continue with the operation."
ITMS 8.x
This appears when custom filters are created using the Query Builder functionality. The Query Builder will include a GUID in the SQL parameters section of the filter as expected, and a NAME attribute which is not needed and this is what is causing the informational message to be added to the logs.
Filters require a GUID attribute, and any other attributes are ignored. The filter will otherwise work as expected, and this message does not indicate an issue with filter functionality.
Steps to reproduce:
When these filters are used in a policy, this filter membership is updated, and you will see the message when one of the resource membership update tasks runs. If not in a policy, filters can be updated using a built-in task, and if run on a schedule, you will see this message when the filter update task runs.
This may be addressed in a future release of the IT Management Suite.
If desired, you can edit the filter(s) and remove all fields except the GUID field by following the steps below: