Restricting a Variable or Variable Set on Catalog Builder

Eitan Thal
Tera Contributor

Hello, I was wondering whether it might be possible to setup a restriction preventing customers from seeing specific Variables or Variable Sets as selectable options from within Catalog Builder. There are some Variable Sets that we do not want non-developers from utilizing within Service Catalog forms when designing them via Catalog Builder. I was hoping there'd be a 'Visible on Catalog Builder' option within the Variable or Variable Set form, but do not see a field attributed to such a function. Thanks in advance.

1 ACCEPTED SOLUTION

Anjum1
ServiceNow Employee
ServiceNow Employee

Hi @Eitan Thal ,

There is no such field on Variable sets, however, it is possible to achieve your requirements.

Create a catalog item template. In the template, go to Questions step and click  "Select question set" button. From the modal, select the variable sets that can be used by non-developer users in the Available for list (as in the screenshot below).

find_real_file.png

These Variable Sets will now be available in catalog items created by using this template. However, all of these selected Variable sets will be associated with all catalog items created using this template. So, you may have to create multiple templates with specific Variable sets in each or after the item is created from builder, during review process remove from catalog item unwanted Variable sets using platform view. 

Variables will be newly created for every catalog item, here, you can restrict the type of variables that can be created by non-developer users using Catalog item templates. In the same Questions section of template, click the Define owner permissions icon (define owner permissions icon). From the modal, that opens, select the type of variables that can be created by users in the Available for list as below.

find_real_file.png

Now, the non-developer users will be able to create only these type of variables on their catalog items.

Give access to this template for required users in the Template available for section so that users can create

items using this template.

.find_real_file.png

 

Hope it helps,

Thanks,

Anjum

View solution in original post

6 REPLIES 6

No... we identified it as a risk and piloted catalog builder as is.

Vignesh8
Tera Contributor

Hi @Anjum1 ,

 

I have tried the same steps which automatically includes the variable sets in a mentioned order while creating Catalog item in builder . Do we have any option to provide only list of variable sets that can be picked up while creation as currently user gets option to see all variable set records which is selectable ?

 

Regards,

Vignesh