Validation on list view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:20 AM
Hi All,
I have requirement to set worknotes mandatory when user changes flag from active to false. I have achieved this using on change client script.
Now I have requirement worknotes should be mandatory when user changes flag from active to false on list view also. I am struggling to get solution on list view. How this can be achieved? Any help will be much appreciated.
Thanks
Tara Singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:25 AM
Hi @Tarasingh26 ,
Create data policy for the work notes field or create on-cell edit client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:30 AM
I would suggest creating data policy so it also works when someone changes the value from the list view.
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-15-2024 05:53 AM
Hi @Tarasingh26
My thought go for Client script with oncell edit is good but of you want to go for low code then use data policy.
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]
****************************************************************************************************************