is it possible to display catalog item based on the users belonging to particular assignment group

User662578
Tera Contributor

There is a requirement from customer where they want catalog item variables visible to two assignment group and for each assignment group there will be changes in variables.

 

for example : Assignment group A and Assignment Group B

 

if member of assignment group A is submitting then there will be 10 variables

 

if member of assignment group B is submitting then there will be 7 variables,

 

We do not want to add a condition in Catalog variables to display the question instead based on the user submitting the catalog item.

1 REPLY 1

Ankur Bawiskar
Tera Patron

@User662578 

yes why not

-> use onLoad catalog client script and check if logged in user belongs to which Group and then show/hide the variables

where are you stuck?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader