What is gsftsubmit(gel('sysverb_update_and_stay'))?

Community Alums
Not applicable

Hi!

Could someone please explain what does this code do? What is the gel?

gsftsubmit(gel('sysverb_update_and_stay')) 

Any help will be much appreciated.

Thank you 🙂

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Jassu,

Can you share the complete code where this is used?

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

asifnoor
Kilo Patron

gsftSubmit basically triggers a UI action of type form button. 

The right syntax to use is

gsftSubmit(null, g_form.getFormElement(), "ui action id")

Mark the comment as a correct answer if this answers your question.