Flow Designer - "Look Up Records" Multiple approvals issue

Anthony16
Tera Guru

The goal is to have a flow run daily on the sys_user table, pull in those that have account expiry within 2 weeks and ask for approval. Upon approval/reject, it should open a task to remove/renew the account. I have the below flow built but it only seems to want to run one approval action and not the second one (in some cases where there are more than one). In my example there are 2.

 

1st one.

Anthony16_0-1746546871089.png

 

2nd one

Anthony16_1-1746546902150.png

 

What am i doing wrong here?

 

1 ACCEPTED SOLUTION

Anthony16
Tera Guru

Okay i Finally got it to complete on this example of 2 users:

 

1st

Anthony16_0-1746630420713.png

 

2nd

Anthony16_1-1746630457436.png

 

Cause: End Flow was causing the issue after create task on both reject/approve steps. I removed both of those and now it completes.

 

Issue: New Issue it does not generate approvals more than one at a time. So the first record has to be approved then the next one will show up. Is there a way to just generate all approvals for all the look up records at once?

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Anthony16 

you should move everything from step 3 onwards till the end within the For Each since you want approval to be triggered, task to be created for each record while iterating

AnkurBawiskar_0-1746601009033.png

 

 

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

They are already childs of the "for each" step 2. Should i move them somewhere else?

 

Anthony16_0-1746628259015.png

 

@Anthony16 

you can click the down arrow to see the next flow iteration

AnkurBawiskar_0-1746629754102.png

 

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

Anthony16
Tera Guru

Okay i Finally got it to complete on this example of 2 users:

 

1st

Anthony16_0-1746630420713.png

 

2nd

Anthony16_1-1746630457436.png

 

Cause: End Flow was causing the issue after create task on both reject/approve steps. I removed both of those and now it completes.

 

Issue: New Issue it does not generate approvals more than one at a time. So the first record has to be approved then the next one will show up. Is there a way to just generate all approvals for all the look up records at once?