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
v-yamao-msft
Community Support
Community Support

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.

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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (2,299)