Make a True/False field required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 12:51 PM
Is there a way to required a true/false field to be true in order to close a record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 05:57 AM
Hi @Ruth Goodsell1 ,
You can achieve it with the client script or business rule.
if you need to make Close Out Survey Sent field the before closing you can create before business rule and give the conditions and message as per requirement.
1. Give conditions as per your business need.
2. Check abort action on Actions section and give the message.
3. Result: It will show message like below when you tried to update without checking Close Out Survey Sent field.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2023 01:12 PM
This is the best solution so far, but the abort action does not work. The record is still closing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 01:09 AM
Hi @Ruth Goodsell1 ,
Make sure your conditions are set properly. When your conditions are met then only abort will work.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 05:58 AM
Hi @Ruth Goodsell1 , you can try to put a default value to "true" on field dictionnary OR creat a BR before insert where you change the checkbox to true.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2023 06:22 AM
You can use an OnSubmit client script to verify that the value is true.