Rudimentary Things to Remember – Topic 3

Raghu Ram Y
Kilo Sage

Topic Name : Submit form without filling Mandatory fields

 

Have you ever found yourself in a situation where you needed to save a form but couldn't because of mandatory fields left unfilled? It's a common frustration, but fret not! This article is here to guide you through the process of saving forms even when mandatory fields are empty.

 

UI Actions in ServiceNow offer a powerful solution to the challenge of saving forms without filling mandatory fields by leveraging the flexibility of UI Actions.

 

How to use it? 

Need to pass "sysverb_cancel" as the action name in UI Actions and need to add "current.update()" in the script section, this configuration allows to save the forms without filling mandatory fields.

 

Example UI Action

 

 

Name: Submit & Draft
Table: global
Order: 100
Action name: sysverb_cancel
Active: true
Form button: true
Script :
current.update();
action.setReDirectURL(current);

 

 

 

Thanks for reading the article and do add your inputs/suggestions in the comments.

If the article finds helpful. Don’t forget to Mark it Helpful / Bookmark.

 

Thanks,
Raghu.

 

0 REPLIES 0