Flow Designer - Multiple Ask for Approvals at once from Look up Records

Anthony16
Tera Guru

I have a flow that will go out and check accountexpiry on accounts that are synced from our AD. I want this to generate an approval and task based on that approval/reject. All this works fine but if there is more than 1 look up record(s) it will generate the approval for the first one, wait until approved/reject and then generate an approval for the 2nd one. Is it possible in this case of 2 or more records are found to just generate all the approvals at once (these approvals likely go to different managers)?

 

Anthony16_0-1746632293692.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Anthony16 

move the logic of approval, task creation based on approval/rejection in subflow

Subflow will accept few inputs such as Task information to be created, User for approval

Then call this subflow within the for each

When the for each runs for 2 times, it will call subflow 2 times and each subflow will run on it's own.

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Anthony16 

move the logic of approval, task creation based on approval/rejection in subflow

Subflow will accept few inputs such as Task information to be created, User for approval

Then call this subflow within the for each

When the for each runs for 2 times, it will call subflow 2 times and each subflow will run on it's own.

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

This worked Thank you! I separated out the approvals/tasks into a subflow and it works now. 

 

Anthony16_0-1746650289017.png

 

Anthony16_1-1746650314535.png

 

please provide how you defined the input and out put