Questions tagged [servicenow]

ServiceNow is a cloud-based IT service management company. it should not be used; specific ServiceNow product tags should be used instead.

http://www.service-now.com/

ServiceNow integrates with many third party applications and data sources. The most common integrations are with CMDB, Incident Management, Problem Management, Change Management, User Administration, and Single Sign-on.

A variety of techniques can be used, most notably Web Services, JDBC, LDAP, Excel, CSV, and Email, as well as any industry standard technologies that use SOAP or WSDL. Additionally, API and command-line integrations can be done using a MID Server. ServiceNow has performed the following integrations with enterprise systems and platforms.

ServiceNow provides APIs as JavaScript classes, Java classes (that can be used in JavaScript), web services, and other points of connection for integrations. Note that you cannot access commonly used JavaScript objects (such as DOM or Window). Jelly scripts are also used in some modules. Jelly is used to turn XML into HTML and may include both client-side and server-side scripts.

1032 questions
1
vote
1 answer

How I can set PowerBi dataset refresh for every 15mins

Connected Servicenow to PowerBi via Rest API call, If any new record/request created in the servicenow, the dataset should also get refresh in powerbi. Is there any approach where I can set my dataset to refresh for every 15minutes.
1
vote
1 answer

How to get all data from table using scripted rest api servicenow?

I am new to servicenow and trying to get all the data using scripted rest api but getting blank result. Code: (function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { //var data = []; var records = new…
Naveen Kumar
  • 1,266
  • 1
  • 21
  • 50
1
vote
1 answer

List Collector to get users where manager is equal to whatever is on manager field

In my catalog item I have a Manager variable and a list collector called Members containing users, I need to auto populate the list collector with users whose manager is in the Manager field. How do I do that? script that autopopulates the list…
syvny
  • 11
  • 1
1
vote
1 answer

Get RITM number attached to Change request in Service Now

I am trying to get the Request number (RITM) that is attached in the Change Request (CR) in service now. I am able to get the Request number but not able to get for which Change Request the corresponding Request number is attached. I have used the…
1
vote
0 answers

Pull data from ServiceNow API into Snowflake

I need some reference to pull the data from Service Now API End Point to Snowflake Cloud Datawarehouse! All that I am looking for a step by step guide to Extract data from Servicenow API end point (Based on authorized API ID and Password) into…
1
vote
0 answers

SAP solution manager integration with ServiceNow

Is there a way to integrate SAP solution manager alerts with ServiceNow to create Incidents and automate this process using python? any python package/library/module which will help to automate SAP solution manager with ServiceNow?
1
vote
0 answers

Query to find the newly created change number in service now

Here is the requirement. Where I have release pipeline stage in azure devops to create change ticket in service now then I have enabled gates in next stage (using ServiceNow management) where I have to use this newly created service now change…
1
vote
0 answers

ServiceNow -> Header | Footer record - Send variable from Api Controller to Body HTML template widget tag

I'm trying to understand how to pass a variable from the "Client controller" field to the "Body HTML template" on a Header | Footer (sp_header_footer) record. We have a widget embedded in a lot of pages so we just created the widget and then added…
Pedro Leite
  • 21
  • 1
  • 6
1
vote
0 answers

Configure Virtual Agent ServiceNow Embedded automatic login with Api Oauth 2.0

i have a website want to add virtual agent / VA (chatbot) in my website. But my VA always show Guest not logged, besides my API Oauth 2.0 already success and give response (access_token,refresh_token,scope,token_type,expires_in) I have already…
Maestro Vladimir
  • 1,186
  • 4
  • 18
  • 38
1
vote
0 answers

Azure Devops Service Now - how to get CHANGE_REQUEST_NUMBER/CHANGE_CORRELATION_ID for YAML pipeline

Following the MS documentation here: https://learn.microsoft.com/en-us/azure/devops/pipelines/release/approvals/servicenow?view=azure-devops I've set up an Azure DevOps environment with the Service Now Pre-deployment check and can successfully…
1
vote
3 answers

Trying to parse and access the item in a JSON object

I am trying to parse and access the item in a JSON object. How can I access the 'entity' array in my JSON payload? var results = {"id": "92-4dac-4307-9038-c50e829a022a","funa": ["4667"],"entity": [{"id":"98","en": "com","type":…
Gaurav Dubey
  • 305
  • 1
  • 2
  • 10
1
vote
2 answers

How to parse an HTML (or HTML in string) and read specific elements (H2) using JavaScript in ServiceNow?

I'm getting an HTML I need to parse it so that I can read text under a certain Heading. More specifically, there is a div tag that includes several H2 elements and I need to read only the text between the 3rd and 4th H2 heading, i.e. the Summary…
1
vote
0 answers

Can we pass custom data from email script to notification template?

I've a Notification (sysevent_email_action) that will be using a Email Script (sys_script_email). The notification is defined on "Global" table and under "Send when", it's set as "Event is fired". The event contains parm1 data which will be…
asprin
  • 9,579
  • 12
  • 66
  • 119
1
vote
1 answer

Kubernetes Namespaces forbidden using api

I created a service account user and got the token for the user. However, ever time I try to access the names spaces I get the following error: { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", …
Brandon Wilson
  • 4,462
  • 7
  • 60
  • 90
1
vote
1 answer

ServiceNow data (API) to Google Cloud Platform

First of all, sorry if I don't explain everything super technical, I am doing my best. I have ServiceNow REST API (a link with credentials that pulls data daily in a JSON format). I want to use a product in Google Cloud Platform (GCP) that pulls the…