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

Extend existed table in ServiceNow

I am new to ServiceNow, I have created a standalone table like "u_myTable", but Now according to my requirement I wanted it to extend from "task" or "cmdb_ci" table. Is it any possible way to achieve this requirement.
2
votes
1 answer

Post attachment in Service Now

I'm in a quandary on how to get this working. In Postman, I can upload an attachment without any issue. I'm uploading a simple text file. The code from postmanshows this: var form = new FormData(); form.append("uploadFile",…
ready4data
  • 65
  • 6
2
votes
4 answers

Efficient way to generate all combinations for an address - Javascript

Our team wants to generate a concatenated address based on a user's input for street, city, state, and zip. The issue is many times a user may not fill out all four of these inputs. Is there a way to efficiently generate all combinations for the…
Dave
  • 1,257
  • 2
  • 27
  • 58
2
votes
1 answer

Is it possible to make ServiceNow REST calls using SSO?

I am using ServiceNow REST API calls to get ServiceNow records inside my application. My application takes username,password and domain url of their servicenow account from the user to do this. I have this situation where one of my client uses…
Jerry
  • 987
  • 4
  • 16
  • 46
2
votes
1 answer

Bullet-Proof Encapsulation of AngularJS Application/Controller

I am a ServiceNOW Developer. Recently, ServiceNOW replaced their Jelly based Content Management System with an AngularJS based Service Portal. This interface uses AngularJS widgets for display and data manipulation including the ability to create…
2
votes
1 answer

Powershell Rest API to ServiceNow Failing to Create Request

This is my first post on Stackoverflow, please let me know if my post is not formatted or submitted correctly, etc. I am attempting to use powershell to connect to my ServiceNow instance and POST a service catalog request. However, I am receiving…
2
votes
1 answer

ServiceNow Rest API Timefield

I am trying to write a Rest API client where ServiceNow Database will be polled every 10 minutes to get the Data. Below is the Url that I…
Pavan_Obj
  • 1,071
  • 1
  • 12
  • 26
2
votes
1 answer

ServiceNow: accessing widget option schema in mdDialog

I've cloned the OOTB widget-form, named it widget-form-md, and created an additional option schema for hideRelatedLists: I have a separate widget that is embedding my cloned widget-form-md and hope to display it via a Material Design modal. My…
Dave
  • 1,257
  • 2
  • 27
  • 58
2
votes
1 answer

angularjs: extending directive then make modifications

I am working in ServiceNow and am trying to extend an ootb directive, then make some modifications to a couple functions. So far I've figured out how to extend the directive: function (spModelDirective){ return angular.extend({},…
Dave
  • 1,257
  • 2
  • 27
  • 58
2
votes
1 answer

Retrieve UserName from ServiceNow

I am able to retrieve records for a particular Incident ID using Invoke-RestMethod. However, while retrieving the data, values like Resolved To, Updated By, etc. get populated by a sysid. Resolved By comes in this…
NottyHead
  • 181
  • 4
  • 18
2
votes
2 answers

bootstrap popover not working in ServiceNow widget

I'm working in ServiceNow's Istanbul version and am running into some issues incorporating the bootstrap popover into one of my widgets. The widget currently has fullCalendar dependency and renders a calendar with important dates. I wanted to…
Dave
  • 1,257
  • 2
  • 27
  • 58
2
votes
1 answer

sys_id arrays to is one of not displaying records

I am creating one report. In report condition I am using 'is one of' and passing sys_id array by calling client callable script include javascript: new GetMoreInfoUpdatedChangeTickets().getSysIds();as. I can see sys_ids as "Data source…
Done With Fun
  • 45
  • 2
  • 14
2
votes
1 answer

Servicenow script infinite recursion

I have the following ServiceNow script which inserts the record into live_message table. (function executeRule(current, previous/*null when async*/) { var requestBody; var responseBody; var status; var request; var response; try { …
Rajat Seeddharth
  • 197
  • 1
  • 3
  • 19
2
votes
2 answers

Structure of the JSON and HTML for a complex dynamic table

My Requirement: - (I have created a fiddle with my current progress) I have an angular[1.4.0] app where I need to populate a table & its content dynamically including the header names and their corresponding values using a json object being sent…
Nikhil Nanjappa
  • 6,454
  • 3
  • 28
  • 44
2
votes
3 answers

Javascript var case sensitive

Firstly I will start with a disclaimer. I am new to javascript. This javascript is for ServiceNow. It is to stop certain staff members from raising a catalog item. It is working, however if a user was to use a capital, it would allow it. I would…
Brendonius
  • 109
  • 3