ServiceNowDevProgram / code-snippets

ServiceNow's Code Snippets community repository, managed by the Developer Program and the sndevs community.
https://github.com/ServiceNowDevProgram/Hacktoberfest
289 stars 657 forks source link

Reject Approvals Older Than One Year #1609

Closed pallipoina92 closed 3 weeks ago

pallipoina92 commented 3 weeks ago

The overall purpose of this script is to identify and reject approval requests that are older than one year and are still in the "requested" state. This helps in cleaning up old approvals that may no longer be relevant.

pallipoina92 commented 3 weeks ago

Hi,

Sure, will do that.

Thanks, Sunil

On Fri, 1 Nov 2024 at 3:19 AM, Laszlo @.***> wrote:

@.**** requested changes on this pull request.

On Scheduled Jobs/Reject approvals created before an year/readme.md https://github.com/ServiceNowDevProgram/code-snippets/pull/1609#discussion_r1825205047 :

This is not a real readme, only the same code with some comments (which you could just add to the actual js file). Could you add some actual description here about the purpose of the script and what should someone who wants to use it do? Thanks.

— Reply to this email directly, view it on GitHub https://github.com/ServiceNowDevProgram/code-snippets/pull/1609#pullrequestreview-2409170816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH6EI3CE26CA6QTSWZ2ORKDZ6KQWBAVCNFSM6AAAAABQ6YZWYGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMBZGE3TAOBRGY . You are receiving this because you authored the thread.Message ID: @.*** com>