Hide fields on Service catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 06:37 AM
Hello,
I'm trying to hide the fields "division and environment" when the request type is selected " new access" in one of my service catalog. I created one catalog UI policy and given the condition as request type is "new access" and created two catalog UI policy actions made the "visible as false" and value action as "clear value". This is working when the catalog field values are changing from some other value to new access. But when I directly fill out the request type as new access, this is not working. Any advises would be highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 06:58 AM
opps... your policy look good, might be cache issue.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 06:42 AM
Hi @Mahalakshmi Rav ,
I would suggest to reverse the conditions and UI policy actions as
Request type is Not(!=) New Access
UI Policy actions visibility becomes True
---------------------------------------------------------------------------------------------------
Please mark my answer as helpful/correct if it resolves your query.
Thanks,
Nilesh Wahule
---------------------------------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 07:13 AM
Hi @Mahalakshmi Rav ,
Are the division and environment values mandatory when form loads? I see in one of your screenshots that they are mandatory. Have you made them mandatory on load or something else?
You need to make them non-mandatory and then try to hide them.
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Pranav T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2024 07:13 AM
Hi @Mahalakshmi Rav ,
since the variables are Mandatory the variables are not getting hidden.
in the UI policy actions make mandatory as False.
Please mark my answer as helpful/correct if it resolves your query.
Thanks,
Chaitanya