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

Forum Posts

Resolved! Help with Advanced Reference Qualifier with if condition

Hi all!! I need help with this advanced ref qual.I have this already working: javascript:if (current.variables.wbs_territory != '') "company=" + new TerritoryUserUtils().getCompany(current.variables.wbs_territory)+"^active=true"; What I need it...

Resolved! How to Auto Format a Single Line Text field of a record producer?

Hi, How to autoformat a single line text(number) field on a record producer.Only 10 numbers can be entered and it auto-formats to 123-456-7890.I used regex by creating a new rule using this ^\d{3}-\d{3}-\d{4}$, but I would like to know how can we aut...

Abhi33 by Tera Expert
  • 1003 Views
  • 2 replies
  • 2 helpfuls

Resolved! Remove Multiple Duplicate Model Script help

I am trying to enhance the SN remove duplicate model script, which manages single duplicate records, to be able to process multiple duplicate models.Here is the SN remove duplicate model which manages single record.  //Move CI from the bad dup model ...

runfast by Kilo Guru
  • 2226 Views
  • 1 replies
  • 1 helpfuls

Resolved! How to redirect users to ritm using notification email script ?

Hello Experts,I have to put the link in the notification which will redirect the user to the portal view and on the RITMHere' s what I have written(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,/* Optional EmailOut...

Ujjwala1 by Tera Contributor
  • 824 Views
  • 3 replies
  • 2 helpfuls

How to force reload a parent form

Hello all Can anyone please help with below scenario:1. I have a form with related list and a list banner button (Button name : Multiple Update - as shown in screen shot 1)2. When I click on above button, displaying a pop up using GlideModalForm 3. I...

Naren by Tera Contributor
  • 891 Views
  • 2 replies
  • 0 helpfuls

Resolved! RESTMessageV2 Syntax Explained

What is sn_ws in the syntax below? I understand RESTMessageV2() is a constructor based on ServiceNow’s documentation here: https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server/c_RESTMessageV2API What I don’t understand is why is sn_ws...

Resolved! Dot walk value showing sysID in client script

In a record producer, when a KB is selected, article text/Article body is need to be populate . So I write a Onchange client script to populate article body.Here we need Author name along with article body, but I am it is getting Author sys_ID instea...

chandan15 by Tera Contributor
  • 1208 Views
  • 11 replies
  • 0 helpfuls

Make Google Recaptcha mandatory before form submission

Hi, I am working on integration google re-captcha over a catalog item that is enabled for public. However I am unable to make the captcha mandatory before submission. Implemented using : https://snprotips.com/blog/2016/10/6/implementing-recaptcha Any...

Sails by Kilo Sage
  • 1652 Views
  • 7 replies
  • 2 helpfuls

Resolved! Display fields in Catalog item on selection of variable choice

I need to display 2 extra variable fields on the selection of a Selectbox variable choice in Catalog Item. For example the the catalog item has a Select box variable with 3 variable choices A , B, C. On selection of B, two new variables should be dis...

Aju Sam by Tera Contributor
  • 5671 Views
  • 2 replies
  • 4 helpfuls

Delaying in Scheduled Job using gs.sleep() for 2 days

Hello,I want to use conditional scheduled job script ( to run on every 2nd and 4th Friday of each month)after condition returns true, want to use some code and after that have to wait for 2 days , I am using gs.sleep(172800000); will it create any im...

Yash47 by Tera Contributor
  • 1204 Views
  • 5 replies
  • 0 helpfuls