
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 08:50 AM
I am building a workflow making use of the Approval Coordinator activity. I have 19 group approval records and I only want the task to appear after all approvals are received. There are times when groups sit on the approval request which becomes a bottle neck. I would like to have a condition that auto approves the approval request after 7 days of non activity. Is this possible? Please assist. Thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 09:02 AM
HI,
You can create a flow in flow designer to approve it automatically after 7 days.
See this article with update set which i create for that reminder notification. At then end you can approve or reject it as per your need.
Approval Reminder for Approval Records using flow designer
You can modify this flow quickly and easily, not need to script.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 09:02 AM
HI,
You can create a flow in flow designer to approve it automatically after 7 days.
See this article with update set which i create for that reminder notification. At then end you can approve or reject it as per your need.
Approval Reminder for Approval Records using flow designer
You can modify this flow quickly and easily, not need to script.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 09:05 AM
I would recommend inserting a timer activity in parallel to coordinator activity. So that which ever completes first will move forward. Or create a Schedule job to run daily.
var gr = new GlideRecord("sysapproval_approver");
gr.addQuery('state','requested');
gr.addQuery('sys_created_on','<',gs.daysAgo(7));
gr.query();
if (gr.next())
{
gr.state = 'approved';
gr.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 09:11 AM
Hi,
Add a timer activity parallel to the approval coordinator. and mention the duration to 7 days.
after that add the approval action activity and select action as disregard pending approval and mark task as approved.
So the transition would be like this
Begin -------Workflow ----- Approval coordinator------- Catalog task
-------- Timer ---- Approval action ----- Catalog task
Mark helpful and correct if it helpsl
Thanks,
CB