Auto approve triggered approval action in flow designer (RITM Level)

Valqe
Tera Expert

Hi all,
I have an interesting requirement.

In my catalog item flow I have 3 group approvals running one after another.

 

Requirement: Approval #2 (Software Group Approval) needs to trigger, and then immediately auto-approved.

 

Pasting below a proof of concept prototype where highlighted approval needs to trigger and then approved and then move to the next approval.

 

 

Valqe_1-1743687293247.png

 

Solution I found online was to take advantage of "Due Date" field in 'Ask for Approval' in step #2

it waits for 1 minute 

Valqe_0-1743689116962.png

this seems to be working, but partially.

When due date condition is met it is changing this group approval to 'No longer required' (and I need it to show as 'Approved') and is properly moving forward to group #3 approval

 

Valqe_1-1743689521096.png

Any thoughts how to set 2nd approval to show 'Approved' instead of 'No longer required'?

I appreciate your comments

Thanks in advance

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Valqe 

then why not do this? This will work for you

1) Don't use "Ask for Approval" flow action

2) create Group Approval record for your Group with Approval = Approved

3) Simply use Lookup on that sys_user_grmember table for that group

4) Use For Each and create record into sysapproval_approver table for each approver and state as Approved

This will add approvals for audit and auto approve as well

Something like this but please enhance

auto approve flow.gif

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

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Valqe 

 

It is valid use case sometime,

 

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

 

*************************************************************************************************************
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

@Valqe 

then why not do this? This will work for you

1) Don't use "Ask for Approval" flow action

2) create Group Approval record for your Group with Approval = Approved

3) Simply use Lookup on that sys_user_grmember table for that group

4) Use For Each and create record into sysapproval_approver table for each approver and state as Approved

This will add approvals for audit and auto approve as well

Something like this but please enhance

auto approve flow.gif

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

Thanks for sharing this, @Ankur Bawiskar . Very creative!