Questions tagged [servicenow-rest-api]
202 questions
0
votes
2 answers
IRE Rule On ServiceNow CMDB
I have created an Identification rule on IP Network CMDB table in ServiceNow -
IRE Rule and this works perfectly fine to tackle with duplicate records when using Transform map on import set to dump data into the CMDB table.
However, the same IRE…

Snanix
- 1
0
votes
1 answer
Can we reset streamwriter data for inbound integration?
Just wondering if we are able to re-write data that we was set via the setWriteString() method while responding to an inbound api call. For example, let's say the scripted rest resource code is as follows:
(function process(/*RESTAPIRequest*/…

asprin
- 9,579
- 12
- 66
- 119
0
votes
1 answer
How to get CI dependency of a change request by REST api in serviceNow?
I an fetching CI dependency of Change request by rest api but i have to use multiple API to fetch CI dependency.
Can I use one Api to fetch CI dependency?
I am using this right now.
/api/now/table/change_request?sysparm_query=number={CrNumber}
get…

Himanshu sharma
- 7,487
- 4
- 42
- 75
0
votes
1 answer
Is there a direct service-now rest api to run user criteria diagnostic for KB documents?
Is there a direct service-now rest api to check whether the user(based on user sys-id) have read access to a KB article?
Or is it possible to get contextual API search list based on user's sysid (based on user-criteria)?

Cleyon Kurian
- 11
- 2
0
votes
1 answer
Unable to capture http result request headers
good afternoon,
I’m working on an integration of UiPath with ServiceNow and I would like to know how I can use the result of the HTTP request:
“{“result”:[{“u_bot_ip_name”:“teste…

Rafa3lOneiL
- 87
- 11
0
votes
1 answer
In Service Now Virtual Agent designer, Can we create a variable in 'Script Output' or 'Script Action' component and use it elsewhere in flow?
I have created a flow in service now virtual agent designer. In one step, it interacts with Watson and fetches some data. My requirement is to save this data and use it further in the flow. Is it possible?
Code
Flow

Damon
- 5
- 1
0
votes
1 answer
ServiceNow Rest API (using PowerBI)
I'm on a project in which I need to get data from a ServiceNow instance and treat all data with PowerBI. I'm able to retrieve a big amount of data (Snow collect a lot of data), but I still need a way to filter data correctly. I'm calling to this…

JON LEGARDA
- 29
- 8
0
votes
2 answers
how to close ticket using servicenow api in automation anywhere
How to close the task using Service Now Rest API in automation anywhere?
I need to close the ticket using RestAPI could you please help me out.

Megha D Gowda
- 11
- 2
- 3
0
votes
1 answer
Uploading image to ServiceNow in C# via REST API
I am trying to upload image to ServiceNow incident using SNow API provided in this link:
https://developer.servicenow.com/dev.do#!/reference/api/orlando/rest/c_AttachmentAPI#r_AttachmentAPI-POSTmultipart
I've written below C# code to post the…

khidir sanosi
- 161
- 11
0
votes
1 answer
Exporting data as CSV file from ServiceNow instance using Python
I have some data in an instance that I would like to export to a CSV file using Python and the REST API. I wish to use REST, because there are some rows missing when emailed as a .CSV file. The query gives me 12,000 rows, however, the file that is…

Lynn
- 4,292
- 5
- 21
- 44
0
votes
1 answer
ServiceNow - Scripted REST APIs - How to GET data from two tables and JOIN them
I'm trying to produce a list of Projects (from a custom table called "pm_project") and the users who are working on those projects.
Using an API Explorer I can get a list of Projects (below is the example of my API and…

Victor McIntyre
- 93
- 1
- 10
0
votes
1 answer
Unable to view PDF attached with ServiceNow table records
I am able to successfully attach PDF file with ServiceNow table record using GlideSysAttachment API and attachment.write() function in script, however whenever I download and try to open same, I get the error shown in below screenshot.
Code…

Vanjuli
- 59
- 10
0
votes
1 answer
ServiceNow listener
So preferably using GO or Python is there a way to listen to servicenow API so that whenever a ticket is assigned to my group, it can instantly trigger a local script? I have it set that some of our tasks in my group are completed with a local…

Brandon Kauffman
- 1,515
- 1
- 7
- 33
0
votes
1 answer
Connecting R to ServiceNow ODBC
I'm struggling a bit with how to connect R to ServiceNow ODBC.
The closest solution I found is https://www.cdata.com/kb/tech/servicenow-odbc-r.rst, but it's using some paid software dependencies to make it work, which I think unnecessary.
If someone…

Afiq Johari
- 1,372
- 1
- 15
- 28
0
votes
0 answers
How to write the repsonse, of GET method to a ServiceNow API, to a output file and download it to my local machine in the script?
how do i write the result variable to an output file and download that to my local machine in this script.
something like gs.writeFile("path_to_localFile.filetype", result) so that it will get downloaded in my local machine.
var httpclient =…