Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

Forum Posts

Resolved! Ordering options in a Select Box Variable

I've used this client script to populate a Select Box Variable because I need dependent values. However, the select box seems to list the options in a random order. How do I get the order to follow the sequence of the field it references? They are or...

helios_functions.png

Resolved! Query to find max date

I am trying to find the most recent date in a function query in an attempt to add 7 days and reassign it to the original field.Here is the UI Action that I have tried, but it still only takes the current date and adds 7 days.   Not sure why, at least...

Resolved! Filtering Reference Field with Script Include

I am attempting to use a script include to filter a reference field based on a piece of data on the incident form. The script include is being called and returns an array of the correct entries but the reference field is not filtering. I am using jav...

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
  • 6669 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
  • 3774 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! Update field based on attachment

I have a field 'Has Attachment'(check box) on task table. I want to set the value on this field based on attachment, i.e., if there is any attachment attached to the form, the field 'Has Attachment' should set to 'true'; or else 'false'

kunal16 by Tera Expert
  • 2853 Views
  • 11 replies
  • 1 helpfuls

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
  • 3807 Views
  • 8 replies
  • 0 helpfuls