In Flow designer, how to add auto-approval after 30 days on a Catalog form

AbdurRahmanSnow
Giga Guru

Good evening. I have a requirement that, on a Catalog Form, we have one approval, through Flow Designer.
So, assume, if 30 days passed, then it should get auto-approved?
How can we do this? (Screenshot attached below)

AbdurRahmanSnow_0-1739187811579.png

 

2 ACCEPTED SOLUTIONS

Viraj Hudlikar
Giga Sage

Hello @AbdurRahmanSnow 

 

Before that ask for approval action add a wait for timer action for 10 seconds is fine.

In that approval action do you see due date field open it and select approve option then if pending by relative 30 from wait for duration. See screenshot:

VirajHudlikar_0-1739189278696.png

 

VirajHudlikar_1-1739189330846.png

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

 

 

View solution in original post

AbdurRahmanSnow
Giga Guru

Correct answer: I did not use Wait for condition 10 seconds. Just used @Viraj Hudlikar answer.

AbdurRahmanSnow_1-1739197629799.png

 

 

View solution in original post

11 REPLIES 11

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Similar thread: Solved: Auto reject the approval if the approver is not ap... - ServiceNow Community

This shows how to auto reject after 30 days if not approved, you can use the same logic and auto approve.

 

-Anurag

Mark Manders
Mega Patron

For starters: you don't. It doesn't make sense to ask approval for something (so it is important enough that somebody has to approve on it) and then say 'O, nobody approved, so it is approved'. Rejection with a notification would be better, process wise.

 

But, if absolutely needed (I know there are companies that don't understand processes), you can create a second flow on creation of any approval record for this (or even multiple) catalog items. Put a wait condition in it of 30 days, validate then if it is still on 'awaiting approval' and approve. Your original flow will pick up where it is waiting for.

Or you create a scheduled flow that runs daily to check if any of these approvals have been open for 30 days or more and if so, approve (again: your current flow will move everything along).


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AbdurRahmanSnow 

 

Before that, you need to add an action to lookup records and retrieve the records where approval has been pending for more than 30 days. Then, add another action.

Practically, approving any request without reviewing it is not a good practice, as it can negatively impact the system if any pending or unverified requests get approved. So, please reconsider before proceeding.

 

http://servicenow.com/community/itom-forum/how-do-i-auto-approve-a-request-in-flow-designer/m-p/9015...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@AbdurRahmanSnow 

you can have a scheduled flow which runs daily and sees if 30 days have passed and the State is still Requested

If yes then auto approve.

I believe Anurag has already shared the link which mentions the same.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader