Why UI page popup window is not getting close after clicking on Submit button?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 06:11 AM - edited 05-24-2024 05:42 AM
Hi All,
I have created UI page to accept user rejection reason input while rejecting the approval.
Scenario 1 : working fine.
- When I am rejecting the approval from the Related List >> Approvers tab then UI page is getting close after clicking on "Submit" button ( snap )
Scenario 2 : NOT working.
- When I am rejecting the approval from the separate browser then UI page is NOT getting close after clicking on "Submit" button ( snap )
What may be the reason for this behavior ?
@Ankur Bawiskar seeking your expertise here ?
UI Action:
Below is the code :
UI Page : reject_approval_chg_nj
HTML:
Regards,
VIrendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 06:03 AM
line 66 won't work as it's server side code and your function is client side
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 06:24 AM
Thanks for your quick reply @Ankur Bawiskar
Could you please be more specific which line you r talking about ? I didnot get.