- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 08:21 AM
I want to make a UI Policy change on the [dmn_demand_task] table.
Essentially, if the parent record on the [dmn_demand] table has a Type of 'change' then I wish to display a reference field which becomes mandatory. Anything other than change should mean the field isn't mandatory or displayed.
What is the best way to accomplish this?
I tried building the UI Policy and the action does specify the task table, but it seemingly doesn't work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 10:02 AM
Hi @MBarrott ,
Your UI policy should be on the dmn_demand_task table if you want the reference field to become visible and mandatory. In the UI Policy condition, you can dot walk to the Parent Demand to access the Type field. You can dot walk in the condition by selecting Show Related Fields. Please see the screenshots below:
If my response helped you, please mark it as correct or helpful.
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 09:51 AM
Hi @MBarrott
I tried in PDI for change task
You need to see , what is field name on demand table and then bottom you will get show related Field and than dot walk
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
02-21-2024 10:02 AM
Hi @MBarrott ,
Your UI policy should be on the dmn_demand_task table if you want the reference field to become visible and mandatory. In the UI Policy condition, you can dot walk to the Parent Demand to access the Type field. You can dot walk in the condition by selecting Show Related Fields. Please see the screenshots below:
If my response helped you, please mark it as correct or helpful.
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 10:09 AM
Hi @Saloni Suthar,
This is exactly what I'm needing and initially what I had in mind. How are you able to dot walk with the condition? I'm not seeing the ability to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 10:16 AM
Hi @Saloni Suthar,
I figured how to bounce through with the dot walking, I had initially shown related fields but not ventured through the levels to reach parent.demand.
This worked perfectly, thank you!