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

Forum Posts

Inbound Email Action - Retrieve User through script

Hi,In my test application, I am using Inbound Email Action Script for creating Change Request. I am populating all mandatory fields of Change Request.I want to populate Requested By & Original Requester fields from the Inbound Script.I tried searchin...

by  
  • 2215 Views
  • 4 replies
  • 0 helpfuls

Using setValue to populate a date field.

I'm trying to use the 'variable.setValue' to populate a date field. The formatting of the date value is 28-Sep-2011 and manually putting the value into the date field works perfectly fine. In addition I know my script is working because I pointed it ...

by  
  • 7317 Views
  • 5 replies
  • 0 helpfuls

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
  • 38288 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  
  • 2138 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
  • 7612 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
  • 5192 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
  • 1660 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
  • 1864 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
  • 3650 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
  • 2762 Views
  • 1 replies
  • 1 helpfuls