Make Catalog Item Variables Not Mandatory on RITMs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2016 07:38 PM
Hi,
My company implemented a Service Catalog earlier this year, and after implementation found that variables from the catalog items that may have been hidden/made not mandatory by UI policies or scripts, are showing up as mandatory on the requested items.
Based on community posts, I see this could be due to a number of reasons:
1) We marked variables as mandatory.
2) For catalog UI policies and scripts, we did not check "Applies on Requested Items".
Given we may have made some mistakes initially, does anyone have any recommendations on the best way to make variables on the requested items not mandatory? For example:
- Is there a script that can be written to make the variables not mandatory on the requested item form
- Should we go back to every variable and make it not mandatory, and then make the variable mandatory on the catalog item via UI policy or script
- Should we create a UI policy for each variable to make it not mandatory on the Requested Item form
- Should we update all the UI policies and scripts to make them apply on Requested Items
I am relatively new to ServiceNow so any advice on best practices regarding variables would be greatly appreciated. Also, my company will be upgrading from Fuji to Geneva or Helsinki soon, so I am concerned about anything that may break in an upgrade and overall maintainability of the Service Catalog.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2016 07:53 PM
Hi Jessica,
Check is there is already a script setting those variables mandatory. You could create a new onLoad catalog client script to set variables non mandatory. Make sure to unckeck 'Applies to catalog item view' and check 'Applies to request item','Applies to catalog task'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 11:58 AM
Thanks for your suggestions. For a new onLoad catalog client script, is there a way to query for all the variables and mark them not mandatory via a script? Or am I missing something more obvious?