I'm trying to set up a flow that is triggered when an Excel file is created in a SharePoint folder, then runs row by row to either update or create (depending on if the vendor is already in the CDS or not) a vendor record.
*****
Current config is:
Trigger - When a file is created (SP);
Action - List rows present in a table (it won't recognize the name of the table in any document);
Action - List records in the CDS;
// Here I have nested "Apply to each" loops:
Apply to each - Value from the "List rows present in a table"; // pull the vendor ID from the first row
Apply to each - Value from the "List records of the CDS"; // loop through the records to see if that vendor ID is there
Condition - "List of rows" == "List of records" // does the vendor ID from rows appear in records?
((Yes)) Action - Update record (CDS);
((No)) Action - Create record (CDS);
*****
The first problem that I'm having is getting the "List rows" action to recognize the name of the table in the Excel file.
After that, is this the best way to do what I'm trying to do, or is there a better/smarter way?
Thanks!
Solved! Go to Solution.
Hi @DaveNull,
Please refer to this post, it has a similar requirement, hopes it could help you:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DaveNull,
Please refer to this post, it has a similar requirement, hopes it could help you:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join 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 |
---|---|
88 | |
57 | |
39 | |
36 | |
35 |
User | Count |
---|---|
79 | |
67 | |
57 | |
51 | |
42 |