This is the question I found myself asking a lot when I was first learning ServiceNow development, of course now it is engrained in my daily activity I hardly give it a thought. We all know a business rule is server side and a client scripts is.. you guessed it client! But some areas are …

Continue reading Client or server?

This is a guest post by colleague – enjoy! It’s difficult to set up a reference field to be dependent on another field if that reference doesn’t exist in the dictionary. An example of this is using Reference field variables in Wizards in ServiceNow. Servicenow does not offer the option to make one field dependent …

Continue reading Guest Post: Using a Reference Qualifier when the Dependent dictionary field is not available

Recently I worked on a project that required two date / time fields to be blanked on load of a new form. To do this I used a client script with the “onLoad” type selected, see my code below for how this was simply achieved: 1234567function onLoad() { if (g_form.getValue(‘number’) == ”) { g_form.setValue(‘start_date’, ”); …

Continue reading Blank a field with a client script in ServiceNow