Variables

/Tag: Variables

Hide Empty Variables on a Standard Form

By | 2018-07-09T14:59:59+00:00 June 16th, 2011|Categories: Business rules, Client scripts|Tags: , , |

Service catalog variables can be a challenge to deal with on standard forms when they are displayed in a variable editor. I’ve written before about different ways that you can solve one of these challenges…making the variables read only, so that they can’t be modified after the initial submission through the service catalog interface. Another common [...]

Make Checkbox Variables Mandatory

By | 2018-10-30T10:57:54+00:00 January 25th, 2011|Categories: Client scripts|Tags: , , , |

Mandatory fields are usually pretty simple to work with. ServiceNow provides simple UI policy and client script methods to make fields and variables mandatory. You may have noticed as you have worked with checkbox variables in the service catalog that these methods don’t apply. The reason for this makes perfect sense if you think about it. [...]

Multiple Checkbox Variables in Service Catalog and Surveys

By | 2018-07-09T15:00:05+00:00 November 9th, 2010|Categories: System Definition|Tags: , , , |

I just learned something new today about working with checkbox variables/questions in ServiceNow. Even though I’m probably one of the last people to figure this out, I’ll post it here so at least I can find the solution again when I need it! ServiceNow allows you to set up variables or questions for use in data [...]

Re-using Choice List Options in Fields and Variables

By | 2018-07-09T15:00:09+00:00 July 14th, 2010|Categories: System Definition|Tags: , , , , |

Choice lists are one of the basic input elements available in Service-now.com. They are very simple to personalize and add or remove any options you need for your application. Something I see fairly often is the need to use the EXACT same choices in different tables that may not be directly related as extended database tables. [...]

Readonly Variables on a Standard Form

By | 2018-07-09T15:00:10+00:00 May 22nd, 2010|Categories: Business rules, Client scripts|Tags: , , |

As of the ServiceNow Calgary release, this functionality is no longer necessary and, in fact, can cause some issues due to an unresolved bug in ServiceNow code. The best-practice method for making variables read only on standard forms post-Calgary is to use catalog UI policies and catalog client scripts along with the ‘Applies to’ checkboxes available [...]