For each loop to check group approval in flow designer

MS17
Tera Contributor

Hi All,

 

I have a requirement to review the group annually, if group has no manager or manager is inactive, we need to trigger approval to "admin" group, if anyone from this group is rejected, then deactivate that group, if approved keep it active, if no action taken, then wait for 5 days and trigger reminder notification, still no response, then the group should be deactivated.

 

I created a scheduled flow to trigger every year,  I created group approval record for each group which has no manager or manager is inactive, now i need to check if anyone from the group is approved/rejected for each group approval record, can anyone help me                        

 
 
 
 

1.png2.png

1 ACCEPTED SOLUTION

Hello @MS17 ,

Create a new flow variable

Subflow add 01.png

 

Add Do the Following in Parallel as 3rd step, then followed by Ask For approval and then if Statements. Inside If, set the flow variables...

Subflow add 02.png

and then set the value of same flow variable in case approved within due date

Subflow add .png

 Then in parallel Branch, add wait for duration and then IF action followed by Fire Event as per your case.

Subflow add 03.png

Hope this helps!

View solution in original post

16 REPLIES 16

Hello @MS17 ,

Is there any reason why you are not using Ask For Approval action?

MS17
Tera Contributor

Hi @AlfrinAJ,

I tried that, but that was not working as expected, the approvals are triggering, 

-> after due date, it is not moving to no longer required,

-> notifications are not triggering

 

grp.pnggrp1.png