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

Forum Posts

Setting email subject with a mail script

I have a field that I need to set in a subject line of an email. The email is coming from the "request" table, and the field is on the "sc_cat_item" table. I have a mail script within the email body, but I need to set the field in the subject. How ca...

Blair5 by Tera Guru
  • 39637 Views
  • 2 replies
  • 13 helpfuls

UI Context menu

I have been asked to make the copy sys_id available for discovery admins when you right click the header bar on a page. I found the entry for copy sys_id in the UI Context Menus and changed the condtion to say:gs.hasRole('admin') || gs.hasRole('disco...

by  
  • 2570 Views
  • 2 replies
  • 0 helpfuls

hasValue() verses nil()

hasValue()and nil()appear to serve the same purpose. Is there any situation where they behave differently? In other words, is there a situation where hasValue() != !nil()?If a field contains a bad reference (i.e. sys_id of a non-existent record), doe...

gflewis by Kilo Expert
  • 7937 Views
  • 3 replies
  • 3 helpfuls

MSG files not opening

Hi all,We have found that when an MSG file is forwarded into the system through the mail it will then not allow the file to be opened.Error message displays - "Can't open file. The file may not exist, you may not have permission to open it, or it may...

Nick105 by Kilo Expert
  • 5722 Views
  • 5 replies
  • 0 helpfuls

GlideAjax Help - Service Catalog Reference Qualifier

Hoping someone here can tell me what I'm doing wrong here. On a catalog Order Guide, I need to filter a list of Configuration Items based on the CI Class chosen in another variable.I created an on Change Client Script (on the Class Variable) that cal...

Sarah50 by Kilo Expert
  • 1876 Views
  • 1 replies
  • 0 helpfuls

Trigger event when browser window / tab is closed

I m trying to create an event when the browser window / tab is closed. Can window.onunload function be called? if so, from where?I see session.established event is created everytime the new session is established. Similarly, i want to trigger another...

Ruchi19 by Mega Contributor
  • 2096 Views
  • 2 replies
  • 0 helpfuls

Reference Qual on choice list

Hi,On incident table have a choice list field,need to restrict some of the values appearing in this field.Was planning to achieve this using a reference qualifier - http://wiki.service-now.com/index.php?title=Reference_Qualifiers#Qualifiers_Based_on_...

tj2 by Kilo Contributor
  • 4007 Views
  • 3 replies
  • 1 helpfuls

How do you add a Confirm Message within a Business Rule

I am currently using the following function within an Business Rule to populate the RFC field on the incident table from Change. As is, it is working correctly, but the process owners now would some changes. What they want is a check to see if the RF...

lindac by Kilo Explorer
  • 2949 Views
  • 1 replies
  • 1 helpfuls

Having a UI Action validate fields before save.

I have made a UI action button which changes the status of a record, then saves the record. Unfortunately any validations that should occur on save do not happen and we have a record with required fields not filled out that are not being reported on....

ccajohnson by Kilo Sage
  • 3223 Views
  • 5 replies
  • 0 helpfuls

Email Notifications/Templates Clarification

I just want to make sure I have this concept right. Regardless of what is in the "Email Template" field on an Email Notification form, if I have something in the "Subject" and(or?) the "Message" fields, that template is overridden and the Subject/Mes...

Work Notes not formatting HTML

We use the work notes field for communication. When entering links it does not format it in HTML. I know you can add HTML tags, but has anyone else had this issue?Need to retain the journal type field and have automatic HTML formatting.

gaidem by ServiceNow Employee
  • 3184 Views
  • 5 replies
  • 0 helpfuls