I'm trying to build a workflow that will do the following:
- Crawl through a set of directories looking for .csv files that match certain wildcards.
- Return a list of those file paths.
- Import and merge all those files into a single table, adding fields as needed.
I have the first two steps working, currently using the directory tool and a batch macro, but it throws an error whenever it encounters a file that doesn't match the expected schema, saying, "The field schema for the output [Output Name] changed between iterations." Seeing as how that's exactly what I want to work through, I'm thinking I need a different approach.
Any ideas? Thanks in advance.