The CreatorCon Call for Content is officially open! Get started here.

shouvik
ServiceNow Employee
ServiceNow Employee

Here are the Frequently Asked Questions in Service Catalog, and solutions and workaround to resolve them.

This blog will be updated periodically to add more FAQs in Service Catalog

 

1. How to hide Catalogs from certain users in my company?

Usecase: I want CatalogA to be available for Role1 and CatalogB to be available for Role2.

 

Service Catalog supports User Criteria which controls the visibility of Items and Categories. Please visit the documentation for the same.

But for Catalogs, User Criteria does not apply. The visibility of Catalog is controlled via ACLs.

 

2. I don't see my variables in Request Item or Catalog Tasks?

Usecase: I have 5 variables in my catalog item but I see only 2 in Request Item and Catalog Task

 

In Request Item(RITM) we show all variables from the Item. If a variable is not available in RITM, it could very well be because of Catalog Item Scripts or Catalog UI Policy.

How to get variable values for RITM

So, if the Variable is in the list but not present in the UI, then there can be a Catalog Client Script or Catalog UI Policy hiding it.

 

For Catalog Task, the picture is different. Catalog Task shows variables which are either set to "global" or defined in the workflow activity.(True for Execution Plan)

find_real_file.png

 

 

3. How to get normal data from encrypted variable?

Usecase: I have a variable which is of type masked, and the fulfiller needs to see the masked value

 

The user needs the role 'claimsEncryptionContext' to view encrypted data. You need to add a calculated field in request item which gets the decrypted data.

current.variables.<variable_name>.getDecryptedValue()

 

4. Get all variables for a given catalog item

Usecase: I want to get all the variables associated to the catalog item even across all variable sets

 

Get all variables for a given catalog item

 

5. How to clone a request or do a bulk request?

Clone Request

 

 

2 Comments