I watched the ServiceNow CoffeeBreak webinar which showed how to create a perspective using the WebAPI tile to pull ServiceNow incident information scoped to the actual object you are looking at.  (as opposed to simply pulling a list of all incidents)


Per the webinar, I defined this query:

sysparm_query      cmdb_ci.name={{properties.netbios.ComputerName}}


This is supposed to scope the incident to the actual object in SCOM.  However this is not working for me.  When I use that query I get this error:

“Object reference not set to an instance of an object” (screenshot below)

Obviously the object I am targeting exists in SCOM as I am creating a perspective off of it.   -Not sure if the query verbiage is incorrect or if there is anything else I can try..?


WilsonWong selected answer