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
4
votes
2 answers

ServiceNow angularjs: how to pass server script values to client script

I am working in ServiceNow and am creating a widget that pulls up a modal window with a form embedded in it. I want to pre-populate some of the fields in the modal form, but am unsure how to do this. here is my HTML of a button that opens up the…
Dave
  • 1,257
  • 2
  • 27
  • 58
4
votes
2 answers

Web service not returning data in correct format

I have created following test application to retrieve data from Service Now. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; namespace…
Sandaru
  • 1,229
  • 2
  • 21
  • 39
4
votes
2 answers

ServiceNow `OAuth 2.0` authorization endpoint and token endpoint

I want to integrate my application with ServiceNow using its REST API. For this, my app needs to get authorized using OAuth 2. I have searched for Authorization and Token endpoints in the wiki of ServiceNow, but could not find any. Can anyone please…
Ram Bavireddi
  • 1,139
  • 1
  • 19
  • 43
4
votes
1 answer

What are all the changes other than config changes which will not be captured in update sets

I see that any updates to scheduled script execution is not captured in the update set. What is the criteria to have changes captured? Can we manually configure the list of items to be and not to be captured in updates set.?
Prasanna
  • 440
  • 4
  • 14
4
votes
2 answers

PowerShell Error The command line is too long

I am working on PowerShell script that requires me to pass string as param. The string is a comma seperated list of user names. I get the error when i have 100+ user names. But i get no error if the string has less then 100 users. See below. I have…
deshergan
  • 73
  • 1
  • 1
  • 5
4
votes
2 answers

ServiceNow: Start asynchronous script from business rule

I have a business rule that needs to run before an incident update. The problem is that this script needs to fire off a function from "Script Includes" that is slow. I want this call to be asynchronous so that the form can load. Is there any way to…
Tommy Steimel
  • 771
  • 8
  • 16
4
votes
2 answers

How to filter service now incident records based on caller?

I'm using json web service for service-now to query on the incident records. I'm using java and apache Httpscomponents to make calls. There are huge many records in the incident table, but I want to filter the ones which I need to work upon. With…
Onewildgamer
  • 101
  • 1
  • 2
  • 11
4
votes
1 answer

ServiceNow integration with .NET

I have been trying to get an insertResponse from the ServiceNow web-service. I know that the elementFormDefault property under Webservices need to be set to False. Since I do not have an admin login, I cannot do so. Is there an alternate? I need a…
Vikram Avadhaani
  • 131
  • 1
  • 10
3
votes
2 answers

Calling Service Now Webservice with .Net

I am trying to call Service Now's webservice from .Net and I can make it work fine for inserting a record, but I can not get any GETs to work. Here is my working INSERT code: public void insertTable(string tableName, string schema, string…
VydorScope
  • 649
  • 1
  • 8
  • 20
3
votes
1 answer

WebFlux WebClient with Generic Types

I'm trying to make a Client Library with WebClient from Spring WebFlux. Server return responses like this JSON: { "result": [ { "parent": "", "made_sla": "true", "watch_list": "", "upon_reject": "cancel", …
3
votes
5 answers

Remove Duplicate Object from JSON Array

I am trying to remove duplicate JSON Objects from the array in ServiceNow. Tried below code but it does not remove the duplicate. I want to compare both name & city. var arr1 = '[{"name":"Pune","city":"India"},{"name":"Pune","city":"India"}]'; var…
snowcoder
  • 481
  • 1
  • 9
  • 23
3
votes
0 answers

Authentication error with Microsoft Translation Service

We try to integrate servicenow dynamic translation with MS Translator but we are always getting code":401000,"message":"The request is not authorized because credentials are missing or invalid." ServiceNow Support tried themselves and got the same…
3
votes
1 answer

How a Python script in AWS EC2 can communicate to ServiceNow REST API

I am trying to learn how to inform ServiceNow via REST API that I updated a record in MySQL (AWS RDS) using a Python script (in AWS EC2 Windows Server 2012) for it fetch that updated record. What particular Python libraries / modules should I learn…
criz
  • 273
  • 1
  • 11
3
votes
4 answers

How to use Moment.js in ServiceNow?

Our team is trying to use Moment.js in our instance, but can't seem to get it to work. Here are a couple questions we have about it: We noticed that there is a dependency out of the box called moment-timezone-with-data-2010-2020-v0.5, is this the…
Dave
  • 1,257
  • 2
  • 27
  • 58
3
votes
1 answer

How to decrypt PKCS#8 encrpyted private key in javascript

I am working on ServiceNow - BOX integration using rest API. for generating access tokens, I need to generate a JWT. I need to have a private key to sign that JWT. They have provided the private key but it is in an encrypted format. -----BEGIN…
Ahmed Ali
  • 33
  • 3
1
2
3
68 69