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
05-29-2025 06:50 AM
You can do the dot walk.
Like in this example I want to user caller.VIP = True , in same manner you can do.
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:48 AM
@Dr Atul G- LNG Hi,
Thanks for your reply and sorry for the delay.
My point is that the dot walking is not reachable on a form I'm building. On the form I'm designing, I create a reference field, and I want to apply a UI policy on related fields of this reference field (or field attributes). I can't access these related fields to put a condition on them and create the UI policy. Can this be done without 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:15 AM
Try using dot-walking like this. The “Show Related Field” option helps you perform dot-walking to reference fields.
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-02-2025 12:43 PM
Hi @Dr Atul G- LNG ,
Thanks for your proposal. But this works for UI policies applied to the whole table as in your sample, not for catalog UI policies built on a form... Do you get my point please ?
Thank you