We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to Bypass the mandatory fields when rejecting the demand record using UI action

Vasavi O
Tera Contributor

Hello All,

 

How to Bypass the mandatory fields when rejecting the demand record using UI action , How can we achieve this ?

 

Thank you.

2 REPLIES 2

Anurag Tripathi
Mega Patron

HI,

On a client ui action you can use the below to skip Mandatory fields

g_form.checkMandatory = false; 
-Anurag

yew_chye
Tera Contributor

I can't find any documentation for g_form.checkMandatory. Can anyone share more info please?