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

Forum Posts

Resolved! Help parsing through the value of a system property

I have a system property that I created to holds a list of sys_ids from the sys_user_group table.  They are separated by commas in the system property like so:  sysid1, sysid2,sysid3 In using the gs.getProperty function, I'm able to retrieve the valu...

Resolved! current.setWorkflow(false);

can anyone explain me why using current.setWorkflow(false) should not be followed or is it an unethical way? and if i use would it be a  wrong method for a developer  curious to know just for knowledge   thanks   

Resolved! How to Create a Test Step of Open a Record Producer (SP)?

Hi, I have an issue with creating a test step of Open a Record Producer (SP) where it error out with error summary "FAILURE: Failed to open Record Producer. Either you don't have access to the Record Producer or g_form is not defined". I am in London...

find_real_file.png
sl888 by Mega Guru
  • 5639 Views
  • 11 replies
  • 10 helpfuls

Resolved! How to identify which instance you are on

Hi ServiceNow Community Developers, Do you know if there is a way to identify through a script which instance you are on? For instance I have 3 properties that I have defined for dev, test and prod. Right now in dev I have a hard-coded dev property i...

journalEntry/Additional Comments date and time format.

I am displaying "additional comments" on email notifications. I have the following requirements: - Hide the user names - Re-format the date and time to "standard" AM/PM to MM DD YYYY. So far, I managed to hide the user names by using a regular expres...

Maxwell3 by Kilo Guru
  • 2066 Views
  • 6 replies
  • 2 helpfuls

clearValue() is not working in ClientScript

Hi All,code in client Script:function onChange(control, oldValue, newValue, isLoading) {     clearValue is not working so i have used   g_form.setValue('assigned_to','');may i know why clearvalue() is not working?

find_real_file.png