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

Client Script newValue not working

The following client script on a service form, which is active, Global, not Inherited, of type OnChange, Table = correct table, and Field Name = correct field name and the form field currently has the following value "20%"   shows the following in th...

Resolved! Pull catalog item variables into email notification for TASK

Hello all,We have a catalog item that does not have a Description field when a user is completing the request so when the email notification 'Request Opened on your Behalf" is triggered, the description in the email body is blank. The same goes for w...

find_real_file.png
gnunez by Kilo Guru
  • 16660 Views
  • 9 replies
  • 7 helpfuls

Resolved! Query for active and multiple

Hello all, I need coding help.  How would I select only users that are active and confirm there is only one user with that name? Below is what I have so far: var gr = GlideRecord('sys_user'); gr.addQuery('name', fullName); gr.query(); if(gr.next()) {...

htank66 by Kilo Contributor
  • 4152 Views
  • 3 replies
  • 0 helpfuls

How to Display Current Date on Homepage?

We need to add a widget/report/something to a homepage that displays the current date. Thus far, I have found nothing that will work; everything that I've seen references pop ups or fields in a form. Background: We have a homepage that is downloaded ...

Debbi L by Tera Expert
  • 2948 Views
  • 4 replies
  • 0 helpfuls

How to send approval to an external user ?

Hi,   I would like to send the approval request from "Approval User" workflow activity to an external user who is not present in the sys_user table using the user's email id.  We have the email id of the approver user in an variable .  We tried to pu...

Krishna137 by Tera Contributor
  • 4142 Views
  • 8 replies
  • 0 helpfuls

Resolved! Team Development versioning vs GitHub

Dear all, I just discover Team Development application in Servicenow which is used to share code version between developpers working on different dev instance. Then work is sync to a central repository parent dev instance . My question in which I ma ...

wakespirit by Kilo Guru
  • 2851 Views
  • 6 replies
  • 3 helpfuls

Resolved! Setting values in Multi row using client script

Hi All,       We are using a Multi variable set in a Record producer. I want to set the values in a multi row Variable set cell through client script dynamically based on the selection of another field in the same Variable set set. Looks like g_form....

find_real_file.png
nurav by Tera Expert
  • 5232 Views
  • 6 replies
  • 1 helpfuls

Resolved! Call script include on click of button an Ui page.

I need to call API, which i am calling from Script include and this script include should be called on click of a button on an UI page. I am sure I am missing something to achieve this. I tried to put code in client script of Ui page, still not worki...

Arohi1 by Giga Contributor
  • 4324 Views
  • 3 replies
  • 0 helpfuls

Resolved! Before Query Business Rule

Hi all, I am creating a before query Business Rule that restricts record access based on if the current user has a matching role that the current assignment group also has. I have a strictly basic understanding of scripting so I have started by creat...

taylor21 by Mega Expert
  • 6225 Views
  • 5 replies
  • 2 helpfuls

Resolved! Glide Date Time Conversion

HI All, Facing an error message like : (Unable to format undefined-undefined-Nov 22, using format string yyyy-MM-dd HH:mm:ss ) while loading data through transform map to the Service Now target table. Source date time field format: Jan 17, 2019 03:18...

sam352120 by Kilo Guru
  • 4440 Views
  • 12 replies
  • 5 helpfuls

Change display field for reference field

I have a reference field on 'Issue' table to the 'Task' table, the client wants to have the short description of the task instead of the task number in the field. Is that possible without changing the display value on 'Task' table? I tried a dictiona...

Marton by Kilo Expert
  • 7190 Views
  • 4 replies
  • 0 helpfuls