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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 06:05 AM
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 🙂
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 06:14 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2019 06:15 AM
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.