I'm working on a project to eliminate some Access database files. I'm trying to read in 9 files for a total of approximately 4 million records, union the data together, and then export it back out in one of three ways, either an Oracle database, an Alteryx database file, or both.
I'm seeing 2 issues:
1. In the image below, and the attached file, the top workflow reads the database files in and makes a couple data changes, then based on a workflow constant determines where to export to. If I choose to have it write to an Alteryx database file it generates 14 output files, when I would expect 1 file. The bottom workflow just reads the data in and dumps it back out and generates 1 file. Obviously, I doing much more in the top workflow, but I'm not seeing what would create 14 files. I've added a stop and wait till last record is received and I have also set the max records per file to 20 million, but neither of these changes help.
2. When it goes through the process of checking the workflow constant to see where the data should be written to, it has 4 options, Oracle, Alteryx, Both, anything else. So only three words are used as switches, and anything else entered is ignored. What I'm seeing is when I choose Alteryx for the constant it still tries to write to oracle which generates an error. I would expected that if the data doesn't go down that path, it wouldn't get fired. But maybe I just don't know exactly how Alteryx would handle this.
Any suggestions on what is causing it to generate so many files or a better way of accomplishing this?
Thanks!
