Questions tagged [servicenow-rest-api]
202 questions
0
votes
1 answer
Close the servicenow incidents automatically. Is it possible?
Could anyone please tell me if there is a way to close the servicenow incidents automatically through automation process.
I am dealing with bulk p3 incidents daily. I want to figure out a way to reduce the manual effort.
Thank you
Pushpanth

Never_Give_Up
- 126
- 1
- 9
0
votes
1 answer
How to return Service Now tickets list to AWS Lex from AWS Lambda?
From Lex ChatBot User will ask give me ServiceNow Ticket list.
I am trying to get the Service Now tickets list from Service Now by Calling an ServiceNow API from AWS Lambda, I am getting the results (Tickets list) in Lambda function, but how to send…

ashokg kumar
- 1
- 1
0
votes
1 answer
Find the right URL(EndPoint) for creating a ServiceNow Change Request type = Emergency
I do not know the difference between these two end points:
a) /api/sn_chg_rest/v1/change/emergency
b) /api/now/table/change_request?sys_id=-1&sysparm_query=type=emergency
b) once submitted changes to "normal" response type
Issue: Unable to submit a…

Abdullah Baig
- 13
- 4
0
votes
1 answer
No Concept Of Regeneration Token In ServiceNow OAUTH Token Generation
While Creation of an OAUTH token i came across different methods to create Access Token and Refresh Token, while Access Token has life of 30 mins and Refresh Token has lifespan of 100 days, there is no way to regenerate refresh token without…

Zaryab baloch
- 119
- 1
- 13
0
votes
1 answer
Dynamic REST connection to Service Now in Qlik Sense
I'm trying to unify all the REST connections created in QlikSense to ServiceNow since I have to create a new connection every time I pull out data from a new table. This will make difficult to manage all my connections in the future and because of…

ilikawa
- 25
- 10
0
votes
2 answers
How to get Form's field values in ServiceNow Workflow Run Script
I am new to ServiceNow. I have created a Catalog Item along with a simple workflow to approve the request and then call a script that will fetch the form's field values and further call a REST API.
My form has 4 fields with there variable names as…

Harshit Gupta
- 106
- 4
- 16
0
votes
1 answer
Convert Days Hours Minutes Seconds back to datetime
I'm retrieving data from ServiceNow using the REST API and for some of the columns I get a value similar to "2 Days 4 Hours 43 Minutes 29 Seconds".
How can I convert this into something useful?
The STRING_SPLIT function doesn't seem to help as it…

PhoenixC46
- 11
- 3
0
votes
2 answers
Is there any option to get Duplicate employee number from user table in Servicenow
I am creating report to pull out Duplicate employee number from user table in Servicenow.

Radhe
- 1
0
votes
1 answer
How to display record in custom created related list of all users having same manager in servicenow
I want to display the record in custom created related list of all users having saming manager in servicenow. For e.g. Abel, Jack has manager Adel, so when I open Adel record I should be able to see the Abel user and Jack user.
This is the script I…

Dhanjay Bhardwaj
- 86
- 3
- 16
0
votes
2 answers
ServiceNow API - How to get all users and all their attributes
I am trying to use the ServiceNow API for the first time and I need to get a list of all the users in the sys_user table with all of their available fields/attributes like date created, updated etc.
I tried GET request to this…

robliv
- 1,351
- 3
- 15
- 30
0
votes
1 answer
How to create and display hierarchy list in servicenow?
Dean-> manager -> senior faculty -> junior faculty -> students
The above structure is in hierarchical form and when I open dean form in servicenow I should be able to see record i.e. rest of the staff under him. Similarly in manager I should be able…

Dhanjay Bhardwaj
- 86
- 3
- 16
0
votes
1 answer
ServiceNow REST API - Querying tables - grouping conditions
I need to query tables in ServiceNow via its REST API while using multiple conditions grouped as following:
( (Condition1 AND Condition2) OR (Condition3 and Condition4) ) AND Condition5 AND Condition6
Does anyone know if this is possible, and if so,…

Vishal
- 2,103
- 2
- 16
- 18
0
votes
1 answer
Python REST Service Now API for text search
I am new to external scripting in Service Now.
I have this requirement of performing a text search in Service Now. I'm planning to insert the texts to be searched in a csv file and then through a python rest API of service now, perform the text…

Jacky
- 15
- 6
0
votes
1 answer
How to create a ServiceNow Change Request as a step in TFS 2018 Release
I am trying to create a ServiceNow Change Request as one of the steps in my Release. I was trying to Agentless Phase step (Invoke Rest API: Post).
I found one article online that suggested to create a Generic Endpoint for ServiceNow. I tried that in…

Pat Delaney
- 117
- 10
0
votes
1 answer
How do i get favorites icon set for icon datatype field using RestAPI for servicenow
I need to show icon datatype custom field in my UI. For this, need to get favorites icon set from servicenow to show a icon list. Is there any RestAPI fo this?

Moni
- 1
- 1