You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue where I am unable to use the configuration_item module to update or delete Locations in the cmn_location table. I am able to create them. And in fact, I'm able to create multiple with same name (though that's neither here nor there)
However when trying to update a Location, i get a failed message that no cmdb_ci records match the sys_id that I provided.
Error Message Failed: localhost No cmdb_ci records match the {'sys_id': '960a308edb7ae150dec34a6c1396193b', 'sysparm_exclude_reference_link': 'true', 'sysparm_limit': 1000} query.
I'm able to work around this by using Ansible's builtin URI module, but thought that I should be able to use configuration_item module considering I was able to create the location and that documentation states it works with all cmdb tables.
Has anyone else tried working with cmn_locations? Is it in fact supported and could this be a bug?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good Afternoon everyone.
I'm running into an issue where I am unable to use the configuration_item module to update or delete Locations in the cmn_location table. I am able to create them. And in fact, I'm able to create multiple with same name (though that's neither here nor there)
However when trying to update a Location, i get a failed message that no cmdb_ci records match the sys_id that I provided.
Error Message
Failed: localhost No cmdb_ci records match the {'sys_id': '960a308edb7ae150dec34a6c1396193b', 'sysparm_exclude_reference_link': 'true', 'sysparm_limit': 1000} query.
Playbook
Results of the first task to Check ServiceNow for Location
I'm able to work around this by using Ansible's builtin URI module, but thought that I should be able to use configuration_item module considering I was able to create the location and that documentation states it works with all cmdb tables.
Has anyone else tried working with cmn_locations? Is it in fact supported and could this be a bug?
Thanks everyone!
Beta Was this translation helpful? Give feedback.
All reactions