community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Macro Error "Missing field map for Input1"

Atom

Hello,

 

I have added the EnsureFieldsonDataStream macro from https://inspiringingenuity.net/2013/08/14/alteryx-ensuring-fields-are-in-a-data-stream/ to my workflow. It works fine on my desktop but when I try to run it from my company Gallery, I am getting the following message:

 

 "Internal error processing macro: missing field map for "Input1"

 

I have included the macro with the workflow (File > Save As > My Company's Gallery > Manage workflow assets  - it is listed as .\EnsureFieldsonDataStream.yxmc).  Is there something else I would need to configure to get it to run on the Gallery?

 

Thanks!

Alteryx
Alteryx

One alternative would be to use the Field Info tool and join those field names against a text input of Field names that you would expect. Any names that fall out of the left or right side depending on how you set it up could be connected to a message tool that throws an error if there are fields that don't exist. This might be a better alternative than using a macro. 

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Field-Info/ta-p/60723

Labels