This method is used when we want to save the form and do not want to navigate to another form.
g_form.save()
How to save the form using client script ServiceNow?
Working Code Edited question August 30, 2023
This method is used when we want to save the form and do not want to navigate to another form.
g_form.save()