How to apply UI policy to a catalog variable attribute ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 02:51 AM
Hello community,
I am building a form, and I need to make a field mandatory when another filed's attribute (active, class or any attribute of the field) have a certain value.
How should I proceed without scripting please ?
P.S. : It is not a condition on a form field, but on the form field attribute !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 08:37 AM
I checked on my end and agree with you—the related field is not available in the catalog UI policy as one of the variables. You need to write a proper logic for that, mate, or use the exact values.
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
06-01-2025 05:19 AM
Hi Dr,
Thanks for the reply and sorry for the delay.
About your response, I am building a form using reference fields and I need some catalog UI policies on some of their related fields. The related fields are not reachable to put a condition on them. Is there a way to do it but avoiding scripting please ?
Thanks for your time.
Best regards,
Hono.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 09:20 AM
so basically you want to check some field value which is within a reference field?
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
06-02-2025 03:53 PM
Hi @Ankur Bawiskar , thanks for your reply.
I want apply a UI policy on a dot-walked field of a reference field. Is it more clear for you please ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 06:39 AM
not possible to use UI policy on dot walked I believe.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader