-
Notifications
You must be signed in to change notification settings - Fork 905
Prevent Rejection Without Comments #2650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent Rejection Without Comments #2650
Conversation
…ed on Impact and Urgency/readme.md
…ed on Impact and Urgency/script.js
am-shakeel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this! Since it’s a low-effort PR for Hacktoberfest, that’s totally fine
Just a quick note: this repo already has similar examples, so it might be worth checking for duplicates before submitting. That said, the use case does make sense in certain scenarios, so I’m accepting it as a valid contribution. If you plan to extend this (e.g., support Change Request validations or make it reusable across tables) happy to collaborate!
PR Description:
Adds a Client Script on the sysapproval_approver table to ensure that approvers must provide comments before rejecting an approval record. Improves audit transparency and process integrity.
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions