How to save the form and call UI page using UI action?

Sagar24
Tera Contributor

I have scenario where I have to save the form and call the Ui page on click of a UI button. I tried using g_form.save() and g_form.submit() but nothing worked. I have tried calling another function from on click function but not sure about the right syntax

find_real_file.png

6 REPLIES 6

Hi,

what's the business requirement to render the UI page once form is saved?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

priyasunku
Kilo Sage

Hi @Sagar24 ,

 

is this issue solved. Actually I have the same requirement and I wanted to use g_form.save() in UI action and it is not working.