Hello,
I am trying to update an Excel Spreadsheet located in my OneDrive anytime items in my SharePoint List are modified or a new item is added. The part I'm have trouble on is what to include in the "Condition" section and then the "If Yes" and "If No" sections. I had originally set the Condition to pull in the Excel "Value" dynamic content and check if it was equal to zero. If yes I set it to add a row to the table and if no I set it to update the row but that didn't work. I think that my condition is wrong. Also anytime I set dynamic content as part of the conditio, the whole condition automatically gets put into an "Apply to each" group.
I messed around with the flow and changed some things and it still didnt work. I've attached a screenshot, any help is appreciated:
Solved! Go to Solution.
Thanks for your reply.
Here in your condition you have does not contain. Change this to equal then you can do the update in Yes condition and leave the no condition. If not you need the otherway around.
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 blogPower Automate Video TutorialsHi @emayen100595 ,
List rows always create a loop. You need to create new row outside the for loop. Leave the Yes part to nothing. Before you create the new row you need a boolean flag to identify whether the excel row is already updated or not. So declare a boolean variable before the list rows flow step. Set this value under the If condition. Set to true if excel row is updated. Then outside the for loop check this condition is true then do not create a new row in excel.
Hope it make sense.
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 blogPower Automate Video Tutorials@abm So do I leave the "Update Row" in the "No" section? Also, the result of the "boolean flag" goes in the condition statement and that gets checked? Am I understanding that correctly?
Thanks for your reply.
Here in your condition you have does not contain. Change this to equal then you can do the update in Yes condition and leave the no condition. If not you need the otherway around.
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 blogPower Automate Video TutorialsJoin digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
89 | |
56 | |
39 | |
37 | |
29 |
User | Count |
---|---|
75 | |
66 | |
50 | |
47 | |
43 |