Filtering Source Hosts continue #127
-
Hello - I am successfully connecting to our snow instance and yml looks to parse properly but unable to query any data, as it returns no results, I am also referencing https://docs.servicenow.com/bundle/quebec-platform-user-interface/page/use/common-ui-elements/reference/r_OpAvailableFiltersQueries.html for the operators to use in yml. This is what I am using (Issue):
when using this however - ansible yields no results (debugging enabled) here is the results from tower:
any help appreciated, thanks so much! SOLVED:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I found my answer here and updated the original post of my now.yml - the attribute type of the operational_status column is of integer type. Once I found this article and updated my condition/operator to match the Also shortened the now.yml for troubleshooting purposes so I could at least validate I am able to query the cmdb_ci_server table with the provided filters now.yml
|
Beta Was this translation helpful? Give feedback.
-
@tadeboro do you have any great ideas on what we could do if wanting to use 3 columns to create one group? I am using this logic, but it does not create the group in tower:
it will create a group if I use just one and operator like this: Thanks for your help! |
Beta Was this translation helpful? Give feedback.
I found my answer here and updated the original post of my now.yml - the attribute type of the operational_status column is of integer type. Once I found this article and updated my condition/operator to match the
= 1
per this part of the documenthttps://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/configuration-management/concept/cmdb-ci-lifecycle-mgmt.html
Also shortened the now.yml for troubleshooting purposes so I could at least validate I am able to query the cmdb_ci_server table with the provided filters
now.yml