How to popup UI page using UI Action with input textbox to capture in Approver comments ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 06:15 AM
Hi All,
My requirement is,
When I will "Reject" any approval, there should be a popup window with "Rejection Reason" textbox.
Once I entered rejection reason and hit on "OK" button then the given reason should get captured/update in Approval form's "Comments" field.
Please help me.
Regards,
VIrendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 09:55 AM
Please refer below article for what you are trying to achieve
https://servicenowguru.com/system-ui_glidedialogwindow-advanced-popups-ui-pages/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 01:03 AM
I have added below code , but its getting updated to Change table, not in Approval table. why so?
Approval table's "State and Comments" should get update.
UI Action:
Code in UI Action:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 04:55 AM
Hi @Dr Atul G- LNG seek your help to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2024 05:13 AM
Hi @Virendra K
Thanks for tagging me, but I am not that expert in code. @AshishKM any help.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************