what is the difference between variable and variable set???

Mohd Shahnawaz
Tera Contributor

what is the difference between variable and variable set???

1 ACCEPTED SOLUTION

Kamal17
Kilo Sage

Hi Shahnawaz,



Variables: Specific to single catalog item. Cannot be reused/associated with multiple items.



Variable Set: Collection of variables forms a variable set. Unlike variables, single variable set can be reused i.e can be associated with multiple catalog items



Consider 3 catalog items say Unix, Linux and Mac.


A single variable set with variables (OS Name, OS Version, Disk Space, etc) can be reused for all the above 3 items



-Udhay


Please Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

5 REPLIES 5

aishwarya7
Tera Contributor

Hello,



Please go through the thread mentioned variables and variablesets


Hope this would help..!!



Thank you..!!


Kamal17
Kilo Sage

Hi Shahnawaz,



Variables: Specific to single catalog item. Cannot be reused/associated with multiple items.



Variable Set: Collection of variables forms a variable set. Unlike variables, single variable set can be reused i.e can be associated with multiple catalog items



Consider 3 catalog items say Unix, Linux and Mac.


A single variable set with variables (OS Name, OS Version, Disk Space, etc) can be reused for all the above 3 items



-Udhay


Please Hit like, Helpful or Correct depending on the impact of the response


you can also refer the below URL for more details


Service catalog variable sets



-Udhay


Please Hit like, Helpful or Correct depending on the impact of the response


Community Alums
Not applicable

Hi Mohd,



Adding to Udhay's comment.


We can re-use variable sets as many times as possible. Consider creating multiple items for different servers. They do have some parameters in common. Sp, rather than creating individual variables for each server, we can create   a variable set which can be reused across all server items. This will prevent any errors from happening. Do let us know if you face any problem in implementing.