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

Forum Posts

Resolved! Why isn't URL field keeping the value set by BR?

I have a URL field in a table that I want to be populated by an onBefore BR that parses a link from the description field.After the parse and setting the field, I have a log statement that shows the field has the URL value I want, but when I open the...

russellj03 by Giga Contributor
  • 2646 Views
  • 8 replies
  • 0 helpfuls

Resolved! Hiding field value dependent on another field value

Hi guys,  I have created a UI policy to hide (stop a value from being selected) on a field called 'Subtype' e.g. value 'Minor' when the value of 'Domain' field is e.g. 'Deacons' - while this works if the Domain chosen initially is 'Deacons' if it is ...

ui policy hiding minor subtype.PNG
jas101 by Tera Expert
  • 9743 Views
  • 15 replies
  • 0 helpfuls

set value in slush bucket from client script

HI All,       I have created a slush bucket field in my table and trying to fill up the value on change of another field, But     I am not able to set   value to it, If it is not possible, then why service now provide slush bucket   type dictionary f...

tkalpa005 by Tera Expert
  • 2842 Views
  • 2 replies
  • 0 helpfuls

Service Catalog Variable To Get Group Members

In the Service Catalog we need to be able to select a group as a variable and then select an individual that is a member of the group. This will be the individual that is assigned to the catalog task. Unfortunately the catalog reference field does no...

by  
  • 6293 Views
  • 14 replies
  • 0 helpfuls

New query against same table

Is it possible to query the same table in a script without declaring a new var?I have a script include where I am querying a custom table and when I get the results need to do specific things; then I want to query the same table with different criter...

wiltonr by Giga Contributor
  • 3854 Views
  • 6 replies
  • 1 helpfuls

Set Fields Style/Attribute on Variable Editor

Hi - Is there any way that I can change the fields style/attribute in the Variable Editor during onLoad? I have the below script in the sc_req_item with an onLoad event but this does not work. The variable width does not change during onLoad. functi...

pss_rets by Kilo Explorer
  • 4149 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to email Project Manager when a project task is updated

Hi SNC,I have a case with Project Management - I want to set up a notification which will be sent to the Project Manager of a project, when a project task from that project is updated.The issue is - when I try to setup a notification for the pm_proje...

mitzaka by Mega Guru
  • 4514 Views
  • 13 replies
  • 5 helpfuls

Add text to a Journal field using a UI Action

I have a UI Action called "Create Request" which is button on my Task form. I'd like to have some text that writes to "comments" journal field. I've tried the same format below with "current.", but that doesn't seem to work for journal fields.Here is...

Access to instance with VPN

Hi,For example, I setting up a VPN on my network with ServiceNow.For accessing the instance (via web/tablet/etc) in my home, I must be connected to any client of VPN? Or I have to access with a client VPN?Message was edited by: Gabriel Terra Oliveira

Setting a refernce field to blank

I am importing an excel field to fill the direct supervisor field and the manger field. However sometimes the Direct supervisor and manger are blank. And I want them to show up as null in serviceNow. The below script does this to the direct superviso...

johnpettit by Kilo Explorer
  • 3404 Views
  • 2 replies
  • 0 helpfuls

Resolved! Best way to determine 90 days ago in Encoded Query

I have a query for a GlideDialogWindow and I want to filter it to "opened in the last 90 days". What is the best way to accomplish this?var customerField = g_form.getValue('aFieldOnTheForm')dw.setPreference('sysparm_query', 'active=true^requested_for...