I'm trying to create a batch macro that will:
- read files (xls files) from a directory,
- import the files into Alteryx,
- write to a table in my sql database.
My macro module is comprised of two data integration tools that get and set the file name for the input tool. The input tool imports an excel file(s) and then connects to an output tool that creates a table in my sql database. When I run the macro module independently, it works like a charm. However, when when I insert the macro into my processing module I get the following error:
Ole db connection strings should be in the form: odb: ConnectString | table.
I'm assuming because I'm running a sql query against my excel sheet Alteryx thinks it's working with a database so its expecting a oledb connect string instead of a path and file name.
My processing module is comprised of a directory tool, a select tool, a formula tool and the macro that I created.
Has anyone come across this problem and developed a reliable workaround. I read post in the forum that excel files can be problematic with the input tool from time to time. Thanks for your input and I hope I can return the favor sometime.
I've included images of my modules and output below for additional clarity:
Macro Module

Processing Module

Output
