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

@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.

View solution in original post

3 REPLIES 3

Ankur Bawiskar
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.

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