Declarative Action or workspace Script : Force Save the form bypassing Mandatory fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
45m ago
We have a requirement where certain role user should be able to save the form bypassing the mandatory fields on injury illness record.I have created Ui action with script
"action.setRedirectURL(current);
current.update();"
this is working when i used "sysverb_cancel" as Action name and its working only on Instance side. Client needs this to work on te Workspace side. Can any one help me or provide sample script i can use either in workspace client script or Declarative action where i can save the records bypassing the mandatory fields. Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
27m ago
Hi @Kachu ,
Allowing users to save records without completing mandatory fields is not considered a good practice.
ServiceNow provides OOB Save button with a defined purpose, and bypassing mandatory field validations goes against the intended system behavior.
Still if you are looking for the change: