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.

Batch Macro reading in multiple files - question

itschriswei
7 - Meteor

Hey y'all,

 

I've created a batch macro that is supposed to read all of my files from a Directory Tool, but it only works when I put a Browse Tool after it. See the pictures below:

1. Workflow with the Browse Tool:

itschriswei_0-1659721275395.png

itschriswei_1-1659721291623.png <-- The results of my batch macro.

 

2. Workflow without the Browse Tool:

itschriswei_3-1659721435487.png

itschriswei_4-1659721457716.png<-- The results of my batch macro.

 

My batch macro:

itschriswei_2-1659721363946.png

itschriswei_5-1659721503710.png

I wanted to know why there is a difference between the 2 workflows. I'm using Alteryx 2021.4.

 

Best,

Chris

2 REPLIES 2
Luke_C
17 - Castor

Hi @itschriswei 

 

If there is no tool after a batch macro only the first set of data gets processed. This is expected behavior. 

itschriswei
7 - Meteor

I see. Thanks!

Labels