Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Catalog client script error on date check (date not in the past)

I have a catalog client script that is meant to be checking that the date selected is not in the past.However, the message is displaying at all times - even if the date is in the future.Script...function onChange(control, oldValue, newValue, isLoadin...

nmcl by Giga Expert
  • 5751 Views
  • 4 replies
  • 3 helpfuls

How can I query sys_email table in Scripts - Background

Hi,I need to extract some information from sys_email table while I am doing the production issue investigation, but when I run below scripts in the "scripts - background" tool, there's no data list out.gs.sql("select distinct recipients from sys_emai...

irenechen by Mega Contributor
  • 3414 Views
  • 12 replies
  • 1 helpfuls

Override Reference Qualifier

Hi- Background:   On my Incident table I have a Reference Qualifier that auto populates the assignment group based on the CI selected. Before I made changes the default assignment group value could be overwritten and changed to a different assignment...

aprilj by Kilo Contributor
  • 3330 Views
  • 18 replies
  • 0 helpfuls

Resolved! Issue with ACL on dot-walked field

In Project Management there is a parent/child relationship between a Project (pm_project) and Project Task (pm_project_task). On a Project Task list view I have added 'Parent.Short Description', which is the project name for the top-level tasks direc...

acl1.png acl2.png acl3.png acl4.png
mmongeau by Giga Guru
  • 6251 Views
  • 8 replies
  • 0 helpfuls

Resolved! REST call via mid server debugging

Hi,I am trying to setup a REST call to retrieve data from an internal application via the midserver. I have defined the webserver via the UI and use JS to make the call and use the predefined webservice. In the WS definition for the GET method I have...

erikbos by Giga Contributor
  • 4813 Views
  • 6 replies
  • 0 helpfuls

Resolved! Checking if reference field has any selections in it

I have 2 reference fields, one is requester the other is requester group(s). The requester group gets filled with the requester's group(s). It is currently filling them with no problem, what I would like it to is to throw an alert to the window if th...

codedude by Mega Expert
  • 2949 Views
  • 8 replies
  • 0 helpfuls

Resolved! I'm having trouble with onComplete Transform Scripts...

Hello, this is my first question here, I'm sorry if it doesn't make much sense.Anyways, I've been trying to run an onComplete transform script that essentially queries through specific records and deactivates them. Seems simple, right? Well it's not ...

daigonite by Kilo Explorer
  • 4223 Views
  • 12 replies
  • 0 helpfuls

Resolved! Text index frequency

Hi all,We are running into issues with global search. We have an incident opened 6 days ago, that has an email address in a string field on the form. When this email address is searched in global search (6 days after it was entered in the incident) t...

milesdpratt by Giga Contributor
  • 3214 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to query data using GlideHTTPRequest?

Hello,With GlideHTTPRequest, i can delete, update and insert data.However there is this one use case where i want to fetch some data by querying it. In the documentation i did not find anything for that.Here is the code what i use today using john an...

getReference displays sys_id for reference field

Hi,I'm trying to populate a set of variables based on the imput of another variable and can't quite find the answer i'm looking for.for these 2 lines, i get the sys_id but would like the display value. (both fields are reference fields on the user re...

Alan Norris by ServiceNow Employee
  • 5994 Views
  • 7 replies
  • 5 helpfuls

Resolved! How do I get the language the user has selected?

I need to translate the text used in HTML/XML fields and there doesn't appear to be a way to do this via the normal methods. I therefore want to include an if statement within the HTML/XML to change the text, however I don't know the function for get...

Blank page shown after clicking Save button.

Hi ,We are on Eureka patch 10. I tried to save the problem ticket by right clicking on the header bar and using Save context menu action. After that a blank page appeared instead of redirecting me to that ticket.This is the one of the scenario. Same ...

rahul30 by Kilo Contributor
  • 2016 Views
  • 10 replies
  • 0 helpfuls

CMS: Redirecting to specific URL on click of logo

Hi Friends,This is w.r.t. CMS, When we click on logo it redirect me to home page. My requirement is to redirect it to specific URL (www.abc.com) when user clicks on the logo.Please let me know the necessary configuration changes required to achieve t...