Hi,
I'd like to know how to how to upsert Excel to SharePoint list. Excel column is used by filter query in Get Items and following actions, so it is configured 'nested loop'. Then create and update action doesn't work with no error.
Please give me someone advice for avoiding 'nested loop'
Solved! Go to Solution.
Hi @yus ,
Do you mean that Flow is executed successfully, but isn't any item updated or created?
The occurrence of a nested loop is the expected result. I speculate that Filter Query causes the Body of Get items to be empty.
Please check the Flow run history and check the execution result of Get items.
In addition, you could try to improve your flow according to the screenshot below.
Best Regards,
Hi @yus ,
Could you please explain upsert Excel to SharePoint list means?
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogIt is incremental update. Update exist records and insert new records.
Hi @yus ,
Thanks for your reply.
Try flow step send an http request to SharePoint instead Get Items.
/_api/web/lists/getbytitle('listname')/Items?$select=Title&$filter=((Title eq 'example 1').
Next step use the JSON Parser. Then check the if condition to check the value is exists or not?
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThank you for reply.
Your suggestion is same result. Nested loop makes fail update or insert with no error. It seems Excel array and get_listItem (=Parse Json) array make the situation.
Hi @yus ,
Do you mean that Flow is executed successfully, but isn't any item updated or created?
The occurrence of a nested loop is the expected result. I speculate that Filter Query causes the Body of Get items to be empty.
Please check the Flow run history and check the execution result of Get items.
In addition, you could try to improve your flow according to the screenshot below.
Best Regards,
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
32 | |
31 | |
24 | |
24 | |
20 |
User | Count |
---|---|
59 | |
57 | |
43 | |
37 | |
28 |