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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update lookup field wi...
Power Automate
Answered

Update lookup field with an array occurs Time Out

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a SharePoint list with a string field and want to split this string and put the values in a lookup column:

raks_0-1657271628463.png

Of course, the split values match with the values of the source list of "Nationalites2".

 

I don't want to do it manually one by one so I think Power Automate can do it.

 

So I create a new flow with manually trigger.

- Set 2 array variables:

raks_1-1657271779991.png

- Get items on the SP list and split the value of the column "nationalites" of the item in the loop:

raks_2-1657271915841.png

- In another loop, I append each split value in my array and after the loop, when the array is completed, I update the item with the array:

raks_3-1657272013821.png

 

I run my flow and cannot debugging because I have a time out in the first Apply to each.

Firstly, I didn't make a second loop and put the split function directly as parameter of update item for "Nationalites2" but I don't see a difference because I had a time out too.

 

How can I do it?

 

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @raks 

    What trigger are you using?

    Are you looping through each item in the list?

     

  • raks Profile Picture
    on at

    Hi @ScottShearer ,

     

    I use a manually trigger because I have to do it only one time.

    Yes I have to treat each element of my list (there are 76 elements)

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @raks 

    Are you setting the array Array_Nationalities back to an empty array somewhere in your Flow?

     

  • raks Profile Picture
    on at

    Yes, at the end of the first loop (Apply to each)

    I set array_nationalites with empty_array, both variables are initialized at the beginning of the flow

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @raks 

    Are any of the rows updated when you run your Flow?

     

  • Verified answer
    raks Profile Picture
    on at

    None but finally, I remake the analyze and don't need this column either. The exercise was interesting so it's a pity but I can close this topic.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard