Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

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

Forum Posts

Resolved! Catalog Client Scripts: Get User Mobile Phone

In our request catalog we auto populate "On behalf of" and their "location." The Get User Location client Script looks like this:   function onChange(control, oldValue, newValue, isLoading) { if (newValue == '') { return; }   var obo = g_form.getValu...

rmechols by Kilo Contributor
  • 4789 Views
  • 15 replies
  • 10 helpfuls

Resolved! How to add a pie chart to a widget?

I need help on how to add a pie chart to one of my widget. I am look for something similar to this one on Google's dev site.   This is the code that Google has: <html> <head> <script type="text/javascript" src="https://www.gstatic.com/charts/l...

find_real_file.png
JDX7913 by Tera Guru
  • 4819 Views
  • 3 replies
  • 6 helpfuls

Resolved! What is causing this missing New button on Incident related list

I have a customer whose user cannot see a New button on a related list on the Incident form. However I can see that button when I impersonate that user in DEV, TEST and PROD. This points to a local cache issue of some sort. But the user has cleared h...

Tony V by Kilo Sage
  • 6807 Views
  • 6 replies
  • 5 helpfuls

Resolved! OOB ACL and Custom ACL Iteraction

Hello People. Specific group (data_integrity) of users request permissions to edit Phone field on the Location form. However,  the Location is not editable for users due to the ACL which allows to edit Location only users with the security_admin rol...

find_real_file.png find_real_file.png find_real_file.png
zzsrvnow by Giga Contributor
  • 7132 Views
  • 13 replies
  • 6 helpfuls

Resolved! When to run Inbound email action - exact email address

Hi guys,   In the Inbound email action in the When to Run conditions I have a few conditions so that the inbound rule will trigger only if the Recipients, To and Copied matches a pattern which is an email address. So if the one sending the email is a...

find_real_file.png
Bogdan18 by Tera Guru
  • 5687 Views
  • 7 replies
  • 2 helpfuls

Resolved! getFields question

Hi, I'm trying to get the fields for any table. The following code snippet works for incident but not for pm_project. Any help is appreciated. var gr = new GlideRecord("incident"); gr.query(); var fields = gr.getFields(); gs.print(fields.size()); Reg...

Yusuf5 by Kilo Guru
  • 3079 Views
  • 4 replies
  • 2 helpfuls

Resolved! Need to create a report based on the created date of the incident

HI all,   I have a requirement where in I need to create a report based on the created date of the incident.   I have tried the same but the problem is when I group by created field it is showing like this,   Is there a way where we can show the rep...

find_real_file.png
rog by Giga Contributor
  • 4236 Views
  • 3 replies
  • 1 helpfuls

GlideAjax call multiple functions

Hello, I would like to ask for hint of solution over GlideAjax. I have UI Action, which works completely as Client side button and calls GlideAjax. In this Ajax script include is a very time consuming function, from fhich I would like to push some in...

Code Search API for Scripting?

Is there an API available to use the Code Search capability in ServiceNow from within Background Scripts or Script Includes?  I have a long list of events (from the Event Registry) that I want to run through a script to call Code Search to see where ...

Daren Kline by Kilo Contributor
  • 1970 Views
  • 1 replies
  • 0 helpfuls