Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Batch Macro - 2nd Cntrl Parameter Not Working as Expected

hellyars
13 - Pulsar

Batch Macro Question

 

Can you have two Control Parameters in the same batch macro?  

If Control Parameter #1 is pointed to Field1 and Control Parameter #2 is pointed to Field2 and Group By is set to None?

 

So far, Control Parameter #1 (pointed to Field1) throws no errors. 

BUT, Control Parameter #2 (pointed to Field2) throws an error on the first tool it is set to replace a specific string.

And, the only value in Field#2 at present is the value used in the macro setup (so I know it should work).

Is the macro tying to pair Field#1 and Field#2?

 

 

hellyars_0-1681850185179.png

 

3 REPLIES 3
hellyars
13 - Pulsar

hellyars_0-1681850604490.png

hellyars_1-1681850651087.png

 

 

SPetrie
13 - Pulsar

Yes, you can have multiple control parameters in a macro.

What is the error you are getting?

Can you share the macro and a sample input to test it with?

hellyars
13 - Pulsar

I figured it out. The # of Control Parameters and Action Tools is getting a bit crazy (given this is my first batch macro using them).

I missed that one of the Parse Tools required inputs from two different Control Parameters

 

hellyars_0-1681860839368.png

 

Labels