How to Make the Embedded list mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 02:29 AM
Hi Team,
We have embedded field in Change Task table. We are trying to make the embedded field mandatory when the change task is in open state. Kindly help me how to proceed it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 02:33 AM
Hi @Arun91
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0724566
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-18-2025 02:36 AM
Hi @Arun91
We can achieve this requirement with the help of "UI Policy"
create UI policy on change_task table, fill the required fields and condition state = open then save the form, lastly add UI policy action by clicking NEW and select "embedded field" with mandetory fields = true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 02:39 AM
We will not be able to see the Embedded field in the ui policy action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 02:43 AM - edited 02-18-2025 02:44 AM
Assuming what you need is to ensure there is a row in Embedded list before the task is closed.
IF that is the case then there is no direct or oob way if doing so, What you can do is create a BR that will run on the change task table(before its closed or whatever your condition is) and query the table where the embedded list is to ensure there is at least 1 entry for the corresponding change task. And base don that allow the Change Task to close , or not.