Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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

Forum Posts

Resolved! Document ready UI Script

I'm trying to use a document ready function in a UI Script to capture the current user... var $j = jQuery.noConflict(true);               $j(document).ready(function () {                       user = gs.getUserID();                       alert(use...

Resolved! Why is g_form.setLabelOf() not working?

Hi,I am trying to change the label text value for one of the variables in my catalog item. Nothing happens when I navigate to my item but getLabelOf seems to work fine.

dalton1 by Giga Expert
  • 2987 Views
  • 12 replies
  • 0 helpfuls

Resolved! Flashing a field in the list view

Hi,I am new to serviceNow. I was stuck in a problem. I want to flash a field in the list view of the table. The flashing will be based on, any update via email on a particular record.I have tried a piece of simple javascript code in "Values" field in...

Resolved! Populate related list with records from reference field

Hi,I need some help in a complex requirement:1. I have a Table called PO2. I have another Table called POLThis first table PO is the master one, and the second table POL is a related table with a field referencing to the PO parent table. This means t...

nabilo_ by Giga Contributor
  • 8584 Views
  • 9 replies
  • 0 helpfuls

Compare 2 integers

Hello everyone, I've got 2 integer fields. There is something strange when I try to compare themDoesn't works :if (current.number_of_attendees_registered == current.number_of_attendees_expected) {                             gs.addInfoMessage("Egual"...

didierl by Giga Contributor
  • 2041 Views
  • 2 replies
  • 0 helpfuls

BCC on Inbound Action

Hi all,I was just wondering if anyone has ever set up an inbound email action using the BCC value? If so, what script condition are you using to facilitate this?I have looked at this and we are receiving emails in to ServiceNow if the address is used...

Resolved! How to add "Run SLA calculation" to a script

I'm modifying the end time on a lot of old tickets. This is a one time deal to fix an issue.   The below script works for that but the SLA calculation is not updating. I found the Run SLA Calculation action that is doing it in the normal closing proc...

ashamankun by Giga Contributor
  • 2686 Views
  • 3 replies
  • 0 helpfuls

Resolved! Need help debugging field being hidden on a view

I have been banging my head for several hours trying to figure this out.I have been trying to add a particular field to an incident view that I have, but something keeps hiding it when I load the page.   It is just a standard textbox field on the inc...

Capture.PNG
bcronrath by Kilo Guru
  • 1738 Views
  • 1 replies
  • 0 helpfuls

Resolved! How can I tell if I am in an order guide?

I have a Catalog Client Script that is used by some Catalog Items and some Order Guides.   What I would like to know is if I can find out if the script is being called from within a particular order guide.   I tried using g_form and referencing the n...

ewilks by Giga Expert
  • 5335 Views
  • 6 replies
  • 2 helpfuls

Resolved! When importing an Excel file the numbers get formatted

I have an Excel file with the following structure:Name         Amountaaaa             1234When I import this file 1234 is displayed as 1,234. The cell is General type in the file.How to prevent numbers form being formatted while import?

natalliar by ServiceNow Employee
  • 1490 Views
  • 1 replies
  • 0 helpfuls