Custom My Approvals Widget with Bulk Approve/Reject and Send Back Feature
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Community,
I recently redesigned the My Approvals page in our Service Portal to improve usability and efficiency. Out-of-the-box, the page only provides Approve and Reject options. I’ve extended this by adding the following new features:
Send Back for More Info – Allows approvers to request additional details before taking action.
Bulk Approve / Bulk Reject – Enables selecting multiple records at once to approve or reject in a single click.
Reject Reason Popup – When rejecting, a popup appears to capture the rejection reason (OOTB behavior rejects directly without asking).
This enhancement streamlines the approval process and aligns the UI design with the client’s portal theme.
Sharing this to get your feedback and suggestions!
widget desing
when you click on the reject -->> When you click Reject, the record is rejected and the rejection reason entered in the popup is automatically added to the Additional Comments field, so the user can see it.
when you click on 'i" button ->When you click Send Back for More Information, the record is sent back to the requester, and a popup appears to capture the clarification or details needed. The entered message is added to the Additional Comments, and the state changes to “Roll Back” so the requester can review and respond.
bulk reject ->When you select multiple records using the checkboxes and click Bulk Reject, a popup appears to enter the rejection reason. After submitting, all selected records are rejected, and the entered reason is added to the Additional Comments field of each record.
The RITM also includes a Request Details option, which displays all the variables and their values filled in by the user during the request submission.
Would love to hear your thoughts or suggestions..!
If my response helped you, please mark it as the correct answer and close the thread. This way, others in the community can benefit too.
Feel free to reach out if you need the code — I’ll be happy to share!
Regards,
TejasSN_LogicX
ServiceNow Developer | HackaNow Finalist | Community Contributor
adhalraotejas1018@gmail.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Wow I’m surprised that nobody responded to you because I think this is amazing. If there’s any chance you could share the XML that would be awesome. If I make any changes, I will gladly send them to you in case you had any interest. Not sure what that might be yet but would like to test it out. Nice job. I can be reached at mjmurphy2000@gmail.com
