Code Help! Aging Request Cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 12:53 PM
Team
I need your help again!
Goal: Cancel all Requests that are waiting for approval that is 90 days or older
Need to run a background scrip to do the following:
Pull a sysapproval_approver state is Requested and older than 90 days
On the correlating Request - Run a IU action (on Sc_req_item) called Cancel Request item [cancel_req_item]
-Thanks again
Hope to see you Knowledge 2025!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 11:57 PM - edited ‎03-12-2025 11:58 PM
Hi @Jason Rooney
As far as i know, "Cancel Request item" is not an OOB UI Action. So it's not possible for us to replicate the same functionality in the background script or flow.
However, if your requirement is only to cancel all the qualified RITMs, then you can achieve that by using flow designer.
Please find a sample below.
Hope this helps.
Regards,
Siva