I am writing an onChange Client Script in ServiceNow and having issues with a Javascript error on the front end client. I keep getting a TypeError: Cannot read property 'u_emp_name' of undefined. the variable seems to vary as at one point i w...
when I give the variable which is an IP(10.31.68.0/22) with the current below script it will return Output: 10.31.68.1 - 10.31.68.10  var network = '10.31.68.0/22'; var IPstart = network.toString().substring(0,network.lastIndexOf('.')...
So I would love to let some ESS users see all incidents for a specific service in their default homepage, which I create.  What I did so far to manage that:   create a role create group add persons to the group create homepage with gauge reports adde...
I m trying to implement a script that queries a table and checks for certain criteria. If it is true then it will insert an incident.  I m not sure where this is going wrong, I am guessing it is the while loop.  I m new to scripting in servicenow if...
So I have a construction like below (this is dummy code). Inside of function assigned to someFunction variable I'd like to get actual name of variable that this function is assigned to.  Expected result of return would be string "someFunction...
I have a business rule in SN that translates csv data from a table, turns it into a json object. I need that json object to then be in the format that Amazon Lex requires for slot values. (specific json object structure). With this, I then need to so...
I am attempting to develop an API on the client side of service now to access a script include I made on the server side. The API is meant to be callable by client script and eliminate the need for my coworkers to have to use GlideAJAX. At the moment...
I am working on twitter integration. I am using CryptoJs to create a signature. Here is the code.  The issue is, following code is working without "in_reply_to_status_id" parameter, but with that parameter it is giving "could not authenti...
In the JSON below, I want replace the KEYS xyz and abc with the dynamic values of alliance and env that I am getting from the form through the below statements, replacing the words abc in quotes with straight object names below is giving me an error....
I have an issue when I order/add to card on one catalog service item . In fact, I am using a custom 'Catalog Client Script' on the onSubmit action to control if the customer added or not a attachment. Please find below my client script:   Scr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.