resolve incident in SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 08:35 AM
I have created a button to resolve incident in SOW. The attached below script is skipping the pop menu and reloading the the page with the incident resolved. Meaning i am not able click on the OK button in the pop up, before i do it the page reloads. Any solution to this would be helpful.
Here is the code:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 09:02 AM
Hi Somnath,
You need to save and submit in the ui page which you are invoking from ui action. The below code is responsible for saving, submitting and reloading of the form.
g_form.submit();
g_form.save();
Kindly mark my answer as Correct and helpful based on the Impact.
Regards,
Alok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 09:16 AM
Sorry Alok , didn't get you. can you please elaborate.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 09:30 AM
I can see from your code that you are trying to get some pop up and from pop up you want to decide whether to proceed or cancel the form submission.
However, In your UI action itself you wrote the code to save and submit the form. Due to which the system is not waiting for the confirmation from the dialog box and submitting the form. Form submission causing the page to reload with the latest saved data.