hi Developers,
I am going around circles with a very "live" and easy task which can be done in Alteryx with 2 steps, but need to find solution with PA.
The is a site in sharePoint (SP) let's call it "root". There are several subfolders in it and I need to collect excel files but not all of them. The folder structure is dynamic and I need to go inside the fiscal year and quarter subfolders like F24 and Q2, later it would be F24 and Q3 and so on. From there I will need all excels, copy them into oneDrive (1D), possible into 1 combined file, I don't want open them all, and combine manually.
I looked at several possibilities but none of them helped. I am not even able to copy 1 file from SP to 1D, not mentioning I need multiple files copy, and copy from changing subfolder environment, and combine files into 1. Is this really something impossible, or there is a solution?
Note that if a condition needs to be built, the "isfolder" function does not work for deciding it is a folder of file, because it it simply does not exist and the condition step totally changed! Also how this tool is able to iterate through the folder structure recursively in order to get all files I need? Thanks!

Report
All responses (
Answers (