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
3
votes
1 answer

How to query the sys_user table using REST?

I am using v2.0.1 of servicenow from PyPi to interact with ServiceNow. I need to be able to look up a user in the sys_user table so I can find the sys_id assigned to them. If anyone has some sample code they can share it would be appreciated. I have…
DanEhrlich
  • 111
  • 1
  • 1
  • 3
3
votes
1 answer

serviceNow REST API sysparm_query fields that are not null

sysparm_query for rows that only have data in a specified column For example: I want data for incidents that are active and have a business application defined sysparm_query=active=true^??????
Kim
  • 41
  • 1
  • 2
3
votes
1 answer

Service Now API specify fields in CSV

I am trying to get a list of incidents from Service Now which is active. I just need a specific field called due_date from the data. If I use JSON curl -s -L --user username:password --header "Accept: application/json" --header…
user1191140
  • 1,559
  • 3
  • 18
  • 37
3
votes
1 answer

Getting PNG image as response from REST call in servicenow, The response is in junk character

I have situation here where I am getting PNG image as response from REST call in servicenow, The response is in junk character as shown below, I am writing server script which takes the response and convert in some string, which will be return to…
3
votes
4 answers

Service-now, where to begin?

I'm working as a Desktop Support Specialists at Day & Zimmerman. Along desktop support I code in a free time. I would like to become a certified Service-Now Admin. What are good materials to start learning about Service-Now? I understand why…
itmilos
  • 489
  • 2
  • 8
  • 20
2
votes
1 answer

write a java spring web service client for service now

My setup is as follows.I have a spring bean org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean using this interface:
jake
  • 51
  • 1
  • 5
2
votes
1 answer

How can a JavaScript object be false and not null?

From within a ServiceNow script, I am trying to detect whether or not something is defined. On this page it says All values are truthy unless they are defined as falsy. That is, all values are truthy except false, 0, -0, 0n, "", null, undefined, and…
giles3
  • 465
  • 2
  • 9
2
votes
2 answers

Converting a result to a list

I need your help to convert a result of a ServiceNow API request to a list. The result shows like following: "json": { "result": { "success": "True", "entries": { "matches": 119, …
OpaHasi
  • 21
  • 3
2
votes
0 answers

Keycloak IDP integration with ServiceNow SSO. After successfully creating keycloak configuration ,how to use it at ServiceNow SSO?

this is what I want to do. I am using Keycloak IDP with local ADFS as identity provider to authenticate users into my servicenow platform. The first part is done. Now on the servicenow platform, they require an metadata URL or XML, where can I find…
mywon23
  • 21
  • 1
2
votes
1 answer

spModal: "shared" option

spModal seems to have an option called "shared" as per here: https://github.com/service-portal/x-archive/blob/master/documentation/spModal.md (scroll down to shared). I am trying to get this to work. In our service portal I have a page with a client…
BrokenCode
  • 951
  • 4
  • 19
  • 43
2
votes
1 answer

TypeError: fetch is not a function when running Client Script in ServiceNow

I am working on an application in ServiceNow where I have the following UI: I have to make a POST request when Submit is pressed. Till now I have got the following lead to make a request. You can use the native Fetch API to make arbitrary HTTP…
JAMSHAID
  • 1,258
  • 9
  • 32
2
votes
0 answers

What are the easy steps for ServiceNow on-premise installation?

Can someone share easy steps to install Snow on-premise? Also, from where I can get the bits? Is it free for limited test?
Ankur
  • 31
  • 1
2
votes
2 answers

Unable to get total result count in service now

I am unable to get total result count in service now Rest api. I am creating query but It return the results .I want to get the results with total result count So that I may implement…
Rahul Kumar
  • 65
  • 3
  • 11
2
votes
2 answers

Where is extra encoded query coming from and what does it mean?

I've the following in a SI var serviceAsset=new GlideRecord('u_service_asset'); serviceAsset.addQuery('u_service',service_sys_id); serviceAsset.addNotNullQuery('u_parent'); serviceAsset.query(); gs.log(serviceAsset.getEncodedQuery()); This prints…
asprin
  • 9,579
  • 12
  • 66
  • 119
2
votes
2 answers

oAuth 2 implementation in react js

I need a little guidance. I am trying to implement oAuth2 authentication in my React JS application. Backend is in service now. In react on login button click, service now popup will open to authenticate user and will provide access token at…
Dilpreet Kaur
  • 77
  • 3
  • 10