Variable Set

Home/Tag:Variable Set

Hide Empty Variables on a Standard Form

By |2018-07-09T14:59:59-05:00June 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 [...]

Readonly Variables on a Standard Form

By |2018-07-09T15:00:10-05:00May 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 [...]

Copying a Variable Set

By |2018-07-09T15:00:10-05:00May 19th, 2010|Categories: Scripting, UI actions|Tags: , , |

This script was designed specifically for easily creating a copy of a variable set but it could be easily adapted to create a copy of any other record (and associated records) in ServiceNow. Rather than use a field-by-field copy technique, this script works more like an ‘insert’ on the records it touches. Because of this, you [...]

Go to Top