cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Error - Deleting intermediate step

Hi everyone, I just wanted to post about a glitch that I encountered.

 

I have a flow which updates information on a SharePoint list. I run a few manual reports and collect the updated information in an excel file which has multiple tables, one for each column I am updating. Not all rows will need the same columns updated, so I found it easier to manage spltting up this way.

image.pngThe way the flow works is I have a "Trigger" document on SharePoint. I go there and create an entry called Table1. It pulls all the rows from that table. If there are rows, it updates the SP list and then deletes the current row in an apply to each. Once its done it creates another entry on the SP list to start the flow over again.

If there are no rows, it creates an item that will direct the flow to the next table until it runs out of data.

 

At one point I added an intermediate step between the "Apply to each" and the "Create Item" that re-triggers the list. However I decided it was not needed so I deleted it. When I did so, I found that the "Create Item" step would trigger as soon as the "apply to each", which caused the flow to trigger prematurely and the fail a bunch of times.

 

What I found is that when I deleted the intermediate step, it didn't apply any "Run After" rules. And when I tired to add them I got an error message saying that I could not apply a run after for the first step after a scope. Or the only step in a scope... I can't quite remember.

 

Anyways, the way that I fixed it was I just dragged the "Create Item" step up one level. It was as if there was an invisible blank step between it and the previous step. There were actually two plus signs to add a step between the "Create Item" and the "Apply To Each" step.

 

Not sure if this has happened before, a cursory Google didn't seem to find anything, but I figured it was worth mentioning.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution Sage
Solution Sage

Hi @RTW ,

Thanks for your posting here and sharing the resolution in the forum as it would be helpful to anyone who encounters similar issues.

If there is anything else we can do for you, please feel free to post in the forum.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Solution Sage
Solution Sage

Hi @RTW ,

Thanks for your posting here and sharing the resolution in the forum as it would be helpful to anyone who encounters similar issues.

If there is anything else we can do for you, please feel free to post in the forum.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (58,498)