Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Batch Macro Not running correctly

Anudeep_Yalamuru
8 - Asteroid

Hi,

 

I built a batch macro and control parameter is set as well. My control parameter has 578 batches and all outputs are to be populated. But only one output is getting populated i.e whatever the default batch number is given in the filter.

 

How can I rectify this?

 

Thanks,

Anudeep

8 REPLIES 8
alexnajm
17 - Castor
17 - Castor

Is your Action tool set up properly to update the "2" value in the Filter?

Anudeep_Yalamuru
8 - Asteroid

Hi @alexnajm 

 

It is set as default.

 

PFA image.

 

Thanks,

Anudeep

alexnajm
17 - Castor
17 - Castor

You need to select the value to update - seemingly in this case, the "2" towards the bottom. If you don't select the value for the batch to update, it'll just stay as the default and not change for each batch

Anudeep_Yalamuru
8 - Asteroid

Oh okay. So, If I want it to run for each individual batch, automatically, should I change something here?

 

Am I missing something here? 

 

Please let me know how can I select the value to update automatically after 1 batch gets done? so that next batch starts going in

 

I thought I would be getting multiple out puts at once based on this article - "https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Batch-Macro/td-p/1254024"

 

Thanks,

Anudeep

alexnajm
17 - Castor
17 - Castor

Yes, you need to change the Action tool to reflect what the batch needs to change - from my understanding you are changing Batch =2 to Batch=3, Batch=4, etc.

 

The example you provided shows exactly the change I am talking about

Anudeep_Yalamuru
8 - Asteroid

@alexnajm Im really lost here :( The action config seems same in both cases. His outputs are being populated correctly where as mine aren't. Please help what should I be modifying?

 

Thanks,

Anudeep

alexnajm
17 - Castor
17 - Castor

Macro action.PNG

Anudeep_Yalamuru
8 - Asteroid

Thanks,

Thanks. All I did was put a sort by ascending before the macro on control parameter and put filter value to 1. It started to exported batch by batch. Thanks again.

 

Anudeep

Labels