Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
ALTER.NEXT:

Join us on Dec 2 for a half-day virtual analytics + data science event!
US & CA customers only

SAVE YOUR SPOT
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!
SOLVED

How to configure a Macro: Error with missing Field map

Highlighted
6 - Meteoroid

I am trying to Send an input into a batch macro which may contain 1 to n table names  depending on a previous step where we calculate the mismatches. 

I created a batch macro and inserted in the workflow so that it takes the input table name and runs the macro which does further analysis on what went wrong. 

I have all the inputs and everything setup but can't seem to get rid of the below error. 

 

Fyi- the macro has dynamic input setup so that the tablename can be updated as per the input to the macro.

 

can some one help?

 

 

Highlighted
Alteryx
Alteryx

Hey @SrilekhaVeluri ,

 

It's a little difficult to tell without being able to see the workflow. If that's not possible to share then one thing that may help is showing both the settings for the macro once it's dragged out into the main workflow and the Macro Input tool within the macro itself.

 

-Chris

Highlighted
17 - Castor
17 - Castor

hi @SrilekhaVeluri 

 

It looks like you've created a batch macro, but didn't include a control parameter within the macro itself.  The ¿ input has a connection in the main workflow, but you don't have a corresponding Control parameter inside the macro.  From the image you provided it looks like your logic doesn't use a control parameter, so you can probably change the macro type from Batch to Standard

 

Dan

Highlighted
6 - Meteoroid

Thank you for the response. 

 

can you please show me a sample on how I may connect to the control parameter inside the macro and where to connect the output? 

 

the requirement is that the macro has to take the inputs from 1 to n sequentially and run the macro in sequence. 

So, I assumed a batch macro would be the way to go. 

 

 

Highlighted
17 - Castor
17 - Castor

Hi @ChrisHe 

 

Look at this Help example BatchMacro FileFinder Batch Macro found here in the help menu

 

Macro.png

 

Its a fairly simple macro that shows how the Control parameter is used to modify the configuration of a standard tool, using the Action tool

 

Dan

 

Highlighted
6 - Meteoroid

Thank you. I was able to find the issue. I guess I had to uncheck the map field option in the macro.That fixed my error. 

Labels