Run a scrit to reject aprovals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 04:30 AM
1. Set approval status to Rejected
2. Set RITM state to Closed Incomplete
3. Run the script / flow on every Monday 7 AM CST.
4. Rejection Comment: "canceled"
I tried to implement this through scheduled job but it failed. Can anyone please help on this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2023 08:04 AM
Hi @manoharpatki ,
This can be easily done using scheduled flow (no code), create a flow as below
One quick question : Are you rejecting all the inflight approvals without any specific condition and why??
however you can achieve this as below
1)Run every monday at 7 AM
2)Look for RITM which is waiting for approval (have your additional condition to fetch specific record)
3)look for each approval records which are in state is in requested (if multiple approvals)
4)set the approvals to reject state and add the comment
5)Set the RITM to closed incomplete state and set the stage as request cancled.
Result:
RITM:
Approval Record:
Hope this helps.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 06:13 AM
Hi @manoharpatki ,
Accept the response if this helped you (so that others can refer )or ask if any follow up questions.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025