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

Forum Posts

Resolved! Can't access user table records in reference field

I Created a table with a reference field to the sys_user table. when I'm in the form and click on that field's magnifying glass I can see all the users if I'm logged in as an admin but when I impersonate a normal user I can't see any records.  I Sea...

Resolved! Filter list of record with a business rule

Hi Service now community  I've tried to filter a list of record with a business rule,  Below a piece of my code :   FiltrerTrade(); function FiltrerTrade() {   gs.log("launch BS /////");   var cUser = gs.getUser();   if (cUser.isMemberOf('dab5...

xif1 by Mega Expert
  • 3771 Views
  • 5 replies
  • 0 helpfuls

Resolved! Complex query Business Rule

Hi everyone,  I have a requirement to expand the scope of Requester/ESS Users to allow them to see not just Incidents where they are Caller/Opened By/Watch List, but also where they have management oversight of retail locations in their district.  I ...

TZRick by Kilo Explorer
  • 4426 Views
  • 6 replies
  • 0 helpfuls

Resolved! Client scripts helper functions

What are the helper functions available in client scripts? Is there a place I can read it from there or I have to have a look at the used client scripts in ServiceNow to get to know?

catchdini by Tera Expert
  • 2585 Views
  • 5 replies
  • 0 helpfuls

Resolved! Abort save action using client script

Hi,  I have created a onSubmit script to validate a field and i want to abort the saving the form if the validation fails. But i am not able to do it using client script. what i am doing is, pop up a error message if validation fails, but as soon as ...

santoshk by Kilo Contributor
  • 15430 Views
  • 3 replies
  • 3 helpfuls

How to suppress InfoMessages

Hi,We are using textsearches on our knowledge base (using GlideRecord with gr.addQuery('123TEXTQUERY321', search);This however produces InfoMessages like "Your text query contained only common words or ambiguous wildcards, please refine your search a...

th00011 by Kilo Contributor
  • 3567 Views
  • 6 replies
  • 2 helpfuls

Working with true | false properties

//CREATE THE PROPERTY AND THEN RUN THIS IN A BACKGROUND SCRIPT TO VERIFY THE OUTPUT    // PROPERTY 'chg.requireApproval'IS OF TYPE TRUE/FALSE.   // THESE TYPE OF PROPERTIES STILL COME IN AS A STRING.    // THIS EXECUTES EVEN WHEN THE PROPERTY IS SET ...

Resolved! Triggering scheduled job from URL

Is there a URL that can trigger a scheduled job (on demand) to run, so I can trigger a script to run from an external system that will send a HTTP get to ServiceNow, with the name of the script (scheduled job)?

cborkert by Giga Contributor
  • 3372 Views
  • 4 replies
  • 1 helpfuls

URL Field Type

I have a url field type on a form, a users enters a website into that field, however, if you click the website, it adds the website after the instances URL? Any idea how to move the instance url all together?  when users clicks URL in the field   --...

rachellesan by Tera Contributor
  • 8355 Views
  • 3 replies
  • 2 helpfuls

Resolved! Adding a Template to Emails Sent From an Incident

Is it possible to use a template for the emails that are sent out in the incident? There doesn't seem to be any options in the send email window. It looks out of place when the rest of the emails sent out during an incident life cycle has a template ...

Community Alums by Community Alums  
  • 2829 Views
  • 3 replies
  • 0 helpfuls