variables and variables set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2018 04:21 AM
1)What is the difference between variables and Variable Set?
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2018 04:24 AM
a variable is related to a catalog item but a variable set is one or more variables which you can also include ui policies and catalog client scripts in so that you can add them as a set to other catalog items (almost like a template)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2018 04:29 AM
Hi Naveen
Variables are like fields on the catalog item whereas the variable set are group or set of the variables.
You can create a variable for a single catalog item only . When you want to use this variables across multiple catalog item then you can add them in a variable set and and add that variable set to the catalog item.In this way you can use same variables across multiple catalog items.
You can say that variable set helps or needed to use the same variable across multiple catalog item
For more details see the servicenow docs - Create a variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2018 04:42 AM
Hello Naveen,
Lets say you decide "On every catalog item, I'm going to ask someone who they are and where they're from".
If you build a variable set with two variables, you can associate the variable set to each of the catalog items. Its basically a container of commonly used variables.
Otherwise you're manually defining your variables every single time.
Thnk you