web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Apply to each not comp...
Power Automate
Unanswered

Apply to each not completing

(0) ShareShare
ReportReport
Posted on by 62

I have a SP list of some size, and I'd like to loop over it to find the unique values in it, in this case, Avdeling, and send it to myself as a comma separated string. The flow works just fine, it just doesn't complete, and instead kills itself and doesn't do what I ask it to do.

 

This is my flow

avdelinger1.PNGavdeling2.PNGavdelinger3.PNG

 

The message I get is that 'Action "Append_to_array_variable' failed", which is seemingly what happens after it has iterated over 100 items and can't iterate over the 101th item for some reason??

 

why is this? it also tells me that no dependant actions succeeded, which doesn't in itself make much sense to me.

In advance, thanks

Categories:
I have the same question (0)
  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at

    Hi @Mats_1997 

     

    Couple of point to consider here:

    1: Get Items action has default limit to 100 items so you will get only 100 items. you can change the limit by going to the Get Items settings and set pagination "on" and set "Threshold" limit to higher number (less than 5000)

    2: you flow is failing in Apply To each action could you click on next failed and find the actual error and share?

     

    Regards,

    DS

  • Verified answer
    Mats_1997 Profile Picture
    62 on at

    @DeepakS 

     

    Turns out the limit wasn't the issue, it was that when I tried to append the value, sometimes it was null, and PowerAutomate wasn't too happy about it, image of the issue bellow, added a condition avdeling != null and it got fixed

     

    avdelinger4.PNG

     

    the limitation wasn't an issue, but I also hadn't thought about it 😉

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard