cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rele_2018
Frequent Visitor

Do I need to use apply to each for start approval

I created a flow which does the following in order:

- when sharepoint form is created

- apply to each

- get response from sharepoint form

- create item in sharepoint list

- route approval to manager(everyone from assigned list)

- apply to each 2

- condition: if approved, send email. If rejected, send email.

- route approval to director (anyone from assigned list)

- apply to each 3

- condition: if approved, send email. If rejected, send email.

 

This has worked fine for 1 month. However, today, the part on "apply to each 3" just failed. I tried to use dynamic content to redo the step on "apply to each 3" but dynamic content refuses to get any variables from the step "route approval to director". I don't know what happened and this is very frustrating. Please let me know soon as this flow is currently active and people are using it.

flow-community.PNG

2 REPLIES 2
Community Support
Community Support

Re: Do I need to use apply to each for start approval

Hi @rele_2018,

 

Could you share a full screenshot of your flow?

I am not sure with SharePoint form you mentioned. Could you provide more details on it?

If it is the trigger SharePoint - When an item is created, how could you add an Apply to each to Get response?

Besides, have you tried recreating the flow if possible?

Please share more details to help reproduce this issue.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
rele_2018
Frequent Visitor

Re: Do I need to use apply to each for start approval

Hi

 

I used the Forms in Sharepoint to capture responses.

 

 

Here are the screenshots:

basically this has worked well for the past 1 month, but yesterday it just failed at the apply to each 3 stage. I can't redo the flow because people are already using it.

 

the "apply to each" that you see at each step wasn't added by me, Flow added it automatically. Flow adds it automatically before every "Condition" i added. Is that normal? In the interim, i managed to delete "apply to each 3 " in my workflow and added a condition. Somehow Flow didn't automtically add "apply to each" before the condition this time.

 

It works for now, BUT my question is: do we need to use apply to each before "Condition"?

 

 

flow1.PNGflow2.PNGflow3.PNG

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (8,403)