Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

To set up a Batch Macro to pass files to a common workflow and join output?

hellyars
13 - Pulsar

 

I have seven (7) XML files.  They all reside in the same source directory.  Each file passes through the same workflow (parsing) before being joined into a single (Tableau .tde) output. 

 

I am new to Alteryx.  I am struggling with how to setup a Batch Macro to streamline this process.  There are a few applicable examples in the forum, but none seem to walk through the details.

 

Any thoughts?

 

Thanks

 

 

Screen Shot 2018-01-29 at 5.35.24 PM.png

3 REPLIES 3
StephenR
Alteryx
Alteryx

If the schema for the files is the same, I would use the Directory tool followed by the Dynamic Input tool.  This should read all the files in and pass them through the workflow in one smooth step.

Regards,
Stephen Ruhl
Principal Customer Support Engineer

hellyars
13 - Pulsar

They are, but I don't have the schema document.   And, I don't know how to quickly recreate it

StephenR
Alteryx
Alteryx

You don't need a schema document.  The Dynamic Input will ask for a sample document that it will extract the schema from.  So, just use your first file.

Regards,
Stephen Ruhl
Principal Customer Support Engineer

Labels