- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 04:21 AM
Hi,
I have a requirement. In a Service Catalog, hide a variable at the form level and display it at the RITM and SC_TASK level. Can anyone please give me any suggestions? Kindly help.
Regards
Suman P.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 06:00 AM
Hi,
Your answers are only partially true. This is what worked.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 06:06 AM
May I know how my response is partially correct.
Your original question was to hide the variable at catalog form level and show on RITM and SC Task
For that I mentioned to use Catalog UI policy which applies on Catalog Form only and hide
This catalog ui policy won't run on RITM and SC Task and hence it won't hide.
Why you require 1 catalog UI policy and 1 catalog client script? -> Not required ideally
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 04:59 AM - edited 05-20-2025 05:03 AM
Hi @Dave_p
You can create catalog ui policy to hide the variable in catalog item level.
Create Catalog UI Policy and add the Catalog Ui policy action for those variables as well then uncheck the Applies on a Catalog Item view
and check then
Applies on a Catalog task
Applies on a Requested Item
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 05:02 AM
it's simple
Create a catalog UI policy to hide that variable and make sure you select this so that it only runs on form and not on RITM or SC Task
Applies on Catalog form - True
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 05:04 AM
HI @Dave_p ,
Don't deactivate the field ,then you can simply write one Ui Policy on that field to make it hide. I think that will solve the issue. And if you are populating the hidden field with some predefined values then that will be cherry on top you also got those values in the RITM and Task level.
I think that will solve your issue.😊
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 06:00 AM
Hi,
Your answers are only partially true. This is what worked.
Regards
Suman P.