Need to save the form on click of button of UI page but going on loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 06:26 AM - edited 12-18-2024 10:13 PM
Hello All,
I have created UI page which is calling onsubmit (client script)of case.When I am click on continue button its getting looped again and again. I have used g_form.save and gsftSubmit(gel('sysverb_update_and_stay'));
But still not working.Please let me know is there any way to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 06:59 AM
can you explain what's your business requirement?
you are opening UI page from UI action and what's next?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 07:02 AM
Hello Anukur,
When user submit the case it should open pop up message with list open cases and incident and with cancel and continue creation button.If they click on continue it should save the form with whatever user have filled for creating new case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 07:10 AM
when you are calling savewindow() you are taking control again to UI action
why to use g_form.save()
Can you share complete UI action code as well?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 07:20 AM - edited 12-18-2024 10:13 PM
Hello Ankur,
I am using onsubmit client script to do the changes.