Auto reject approval after "x" days in workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 09:50 AM
Is there a way within the workflow of a catalog item to reject an approval automatically if it's not approved within a certain(x) amount of business days? I know it can be done through a scheduled job, but we have a need to make this auto reject within the workflow as it will be a different amount of days based on the catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:14 AM
You can create a scheduled job that checks all open Approvals from x days ago and set them to rejected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:24 AM
Willem thank you for the response. I figured we were able to do it through a scheduled job, however the number of days in which we need to auto reject will be different based on what catalog item... we have different days for different items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:30 AM
If you capture those number of days on the item or in a property you can do the query based on that.
So for item a look x days back. For item b look y days back etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:20 AM
Hi,
Check below links that may help you on this.