{% extends 'admin/master.html' %} {% block body %}
Query the table of a ServiceNow account the same way the import reads it — with the connection, query and field list of the account. The result shows every field a record really has and which name the object would be imported under, so a wrong login, an empty query or the wrong hostname field become visible. Nothing is written: neither ServiceNow nor the syncer's objects are changed here.
{% if not accounts %}
Used request: {{ result.url }}
{% for key, value in result.params.items() | sort %}
{{ key }}={{ value }}{% if not loop.last %}, {% endif %}
{% endfor %}
Rate limit of the instance:
{% for key, value in result.limits.items() | sort %}
{{ key }}: {{ value }}{% if not loop.last %}, {% endif %}
{% endfor %}
Nothing found. Empty the query, check the table name, or make sure the account's user may read the table.
{% else %} {% for record in result.records %}| {{ key }} | {%- if value -%}{{ value }} {%- else -%} empty on this record {%- endif -%} |
|---|