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

Forum Posts

Resolved! How to capture custom fields in an update set

Hi,I have what is probably a very simple question. If I want to capture just one field change in an update set, is that possible? For instance, if I pick an update set, navigate to the user form in Default view, Personalize the Form and add a field c...

ben_kahn by Kilo Expert
  • 7629 Views
  • 8 replies
  • 0 helpfuls

Resolved! Email Client Template in activity

Hi All,I'm currently looking for a solution to display sent email client template emails in the activity log. I have a ui macro(ref_contribution) that is navigating to an email client template to sent notifications using a form field. How do I get th...

BK9 by Tera Contributor
  • 4113 Views
  • 10 replies
  • 1 helpfuls

How to cancel an import

I'm running a pre import script and testing a condition at the end to determine whether or not to proceed with the import. The wiki is telling me to usecancel = true;as a means to stop the import. However, the import is still occurring. Am i missing ...

Resolved! password_needs_reset Expiry

Anyone how there have a script that they would like to share that checks the user table on a regular basis, and expires "password_needs_reset"?Our Audit team requires us now to provide a 7 day window after the password_needs_reset is updated to true....

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
  • 11074 Views
  • 15 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  
  • 7317 Views
  • 14 replies
  • 0 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
  • 4510 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
  • 5550 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
  • 3908 Views
  • 2 replies
  • 0 helpfuls