The variable set functionality within ServiceNow is one of those features you should be using for every catalog item in your service catalog right from the very beginning. However, this is usually a realization that dawns on most people WELL AFTER you have implemented more catalog items then you probably care to admit. Do not worry though, I promise that you are not alone in this realization.
So... variable sets, what are they and why do they matter?
What Variable Sets Are
Variable sets are, quite simply, a collection of variables, catalog UI policies and catalog client scripts that you can build independently of a specific catalog item.
Why They Matter
Once you have created a variable set, you can reuse it in as many catalog items as you want without having to recreate those very same variables, catalog UI policies, or catalog client scripts ever again. Here are two of the biggest benefits when it comes to using variable sets:
Working with Variable Sets, an Example
Let us envision for a moment that we are designing some server related catalog items and we built three variable sets that we plan to reuse across all of them.
The first variable set is one that contains the most common variables you might have to create for the requester such as name, location, contact information, etc. It may look something like this:
The second variable set contains typical server attributes you might have to provide if requesting something related to a server. It could look something like this:
The third and final variable set is for any additional requirements, information or comments that the person submitting the request might have that are not covered by any other variable sets. It might look something like this:
With the above three variable sets in mind, here are some simple server related catalog items that could be built using some catalog item specific UI policies and without the need to create any additional variables:
With a bit of planning and design, the possibilities are endless as to how you can slice, dice and reuse variable sets in the most effective way for your organization.
Official ServiceNow Documentation for Variable Sets:
Kingston Release - London Release - Madrid Release
To find about GSI’s ServiceNow Services, call us at 855-GSI-4ERP or click on CONTACT US to send us a request for more information.