Hello,
I've created a workflow that compiles a month's daily files into a monthly snapshot. The files all come from one location and follow the same structure (all the fields are the same) but when I tried to use an input tool, after the first file is read, all the remaining files in the folder are skipped over as they have "a different schema than the first file". I've checked and all the files look the same. So after doing a bit of research, I found a thread in this community talking about Dynamic Input (https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Knowledge-Base/The-Ultimate-Input-Data-Flowchart/ta-p/20480) which I found helpful. I downloaded the batch macro from that forum and it worked well in designer.
I was able to finish the workflow and then I uploaded on the Server so it didn't have to be ran manually. Though when I try running it on a server, I get an error and the flow stops. The error I get is:
"Cannot find macro "C:\WINDOWS\Temp\1\Staging\.........\_externals\1\Batch Correct.yxmc".
I'm assuming that it has to do with the location of the batch macro, but I'm at a loss on how to resolve this. I tried to copy the batch macro and save it in a new location, and I inserted that macro in the workflow instead, but then the workflow wouldn't work properly (the files that I'm compiling didn't feed in) in Designer or on the Server.
Any help would be greatly appreciated.