ServiceNow
ServiceNow is a platform many companies use for IT tickets, change requests and HR cases, and the ServiceNow connector lets TAO search, read and update those records with your approval.
What you can do
Illustrative examples:
- "What open incidents are assigned to me?"
- "How many incidents are open, by assignment group?"
- "Is there a knowledge article about the VPN?"
- "Raise an incident for the printer outage."
- "Add an internal work note to INC0010023."
- "Open an HR case for Jane about her leave."
Before you connect
- A ServiceNow instance. An instance is your company's own ServiceNow site. Its address looks like
https://acme.service-now.com. Use the address you sign in at. - A dedicated service account. This is a user created just for TAO. The connector uses its user name and password. TAO acts with whatever that account is allowed to do.
- Table access for that account. It needs read access to the tables you want to use. It also needs read access to
sys_db_objectandsys_dictionary. These tell TAO which tables and fields exist. Without them, searches with filters are refused. - Password sign-in must be allowed. ServiceNow often restricts basic (password) sign-in on new instances unless the account is a "Web Services Access Only" account or has the
snc_basic_auth_api_accessrole. If it worked and then stopped, check this. If the account uses multi-factor sign-in, ServiceNow rejects the call even with the right password. - For the HR tools: the HR Service Delivery plugin must be installed, and the account needs read access to the
sn_hr_core_tables. - ServiceNow's own sign-in with OAuth is not supported by this connector.
Connect it
Open My Connectors
Go to Settings > Connectors and open the ServiceNow card. If it is missing, an admin has not switched it on.
Enter the instance address
Fill in ServiceNow instance URL. This is required. If your address does not end in a standard ServiceNow domain, the error message explains what else is needed.
Paste the credential
Paste the service account as
userName:passwordin the masked secret box. The catalog entry shows no hint for this box. The format comes from the connector's design notes.Save
Optionally add a Label, then click Save.
Tools
Reads run straight away. Writes wait for a person to approve them.
Finding things out
| Tool name | What it does | Read or Write |
|---|---|---|
servicenow_describe_tables | Lists the tables on your instance. Start here if you do not know a table's name. | Read |
servicenow_describe_table_fields | Lists a table's fields, with which are required, read-only or pick-lists. | Read |
servicenow_get_record | Reads one record by its ID. | Read |
servicenow_find_records | Searches a table with structured filters. The main read. | Read |
servicenow_aggregate_records | Counts records, optionally grouped. Gives the true total. | Read |
servicenow_list_attachments | Lists the files on a record. Does not download them. | Read |
servicenow_search_knowledge | Searches the knowledge base, respecting who may see each article. | Read |
Changing records
| Tool name | What it does | Read or Write |
|---|---|---|
servicenow_create_record | Creates a record in any table. | Write (needs approval) |
servicenow_update_record | Changes fields on one record, such as to resolve it. | Write (needs approval) |
servicenow_add_comment | Adds a customer-visible comment or an internal work note. | Write (needs approval) |
servicenow_delete_record | Permanently deletes a record. | Write (needs approval, irreversible) |
HR Service Delivery
| Tool name | What it does | Read or Write |
|---|---|---|
servicenow_hr_find_cases | Searches HR cases. | Read |
servicenow_hr_get_case | Reads one HR case. | Read |
servicenow_hr_get_employee_profile | Looks up an employee's work profile: job, department, manager. | Read |
servicenow_hr_list_services | Lists the HR services a case can be raised against. | Read |
servicenow_hr_create_case | Opens an HR case for an employee. | Write (needs approval) |
servicenow_hr_add_case_comment | Adds a comment or internal note to an HR case. | Write (needs approval) |
Total: 17 tools, 11 reads and 6 writes.
The product's connector notes say "11 tools". That is the first 11 above, the generic tools. The code also contains the 6 HR tools, which use the same connection. The assignment brief expected about 18. The code shows 17.
Limits and good to know
- Names are per instance. Every company's tables, fields and choice values are its own. TAO is told to look them up before filtering or writing.
- One search reaches many ticket types. Searching the
tasktable covers incidents, change requests, problems and catalog tasks together. - Unknown fields are refused, not ignored. ServiceNow would quietly drop a mistyped filter and return everything. TAO checks field names first.
- Hidden fields are called out. If your account cannot see a field, TAO says it is hidden. It does not treat it as empty.
- Comments cannot be edited. A comment or work note cannot be changed or removed once added. TAO must choose the audience each time. A customer-visible comment normally emails the person who raised the record.
- Deleting is permanent. ServiceNow has no recycle bin, and related records can go with it. TAO is told to close tickets instead where it can. A delete needs the record's exact description to match. If two records share it, the delete is refused.
- A saved record may differ from what was sent. Business rules in your instance can change a value. TAO compares the result with what it sent.
- Failed writes are not repeated. If the outcome is unclear, TAO asks you to check ServiceNow.
- HR data is sensitive. The profile tool asks only for work-related fields, never pay, IDs or bank details.
- Search values cannot contain special characters. A filter value that includes
^is refused, and so is one that starts withjavascript:.
Workflow nodes
The workflow builder also lists nodes named ServiceNow, ServiceNow Trigger, SNOW CMDB and SNOW Change. They come from an older, separate integration service that stores a user name and password. The product docs do not describe how they connect to Settings > Connectors, so this page does not cover them.