how many ways mandatory fields can be bypass?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2022 11:13 PM
In the form there is a mandatory field, users are able to create records without filling that mandatory field .
What are the possible methods by which users are bypassing the mandatory field? one method i know is through Data Sources. Is there any other method ?
Thanks in Advance
- Labels:
-
Enterprise Asset Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2022 11:17 PM
Hi,
A possible case that field is set mandatory by using UI Policy or Client Script & thus is limited to form view.
By that what I mean is the users who are able to submit without entering value in mandatory field is because they use different form view & as UI Policy or Client Script is used to make it mandatory it is not applicable for this view & thus is the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2022 11:28 PM
It could be via any backend operation like integration, Data Sources or via any script. Best way to deal with such scenario is to have Data Policy that makes field mandatory even if you are not updating records via form.
Let me know if you have any further queries.
Please mark this as Correct or Helpful if it helps.
Regards,
Abhijit
Community Rising Star 2022
Regards,
Abhijit
ServiceNow MVP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2022 11:29 PM
Hi,
As Jaspal already mentioned if you are using UI policy or client script mandatory attribute will be limited to form view and may be some specific form view.
In addition, Anyone with a non-interactive session [Data source, Scheduled jobs, fix scripts, background script, flows , workflows, server side scripts, integrations etc] can bypass this as this is limited to only an interactive session [User opens the form and fills out the details].
If you want to restrict this you should be using Data policies or any other server-side way of making that field mandatory.
Regards,
Muhammad
Muhammad