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

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:

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

- 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:

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?