Hi guys,
I created a macro that has 4 input files and I keep getting the error in the title (XYZ is my file name).
I have tried EVERYTHING:
1- The macro runs just fine on its own (it runs fine in the workflow where it is defined)
2- The input files used in both the Macro workflow and the main workflow I am working on are exactly the same
3- I tried making the input files as optional inputs. Did not fix the error
Is this a pure alteryx bug and if so how to fix it?
Solved! Go to Solution.
Hi @Joy1 ,
Seems like you are doing everything right.
Would you be able to share your macro and your dataset? If not, please share some screenshots of your macro and the input configuration.
Best,
Fernando Vizcaino
On the macro input tool, there's an option for "Show Field Map". The default select for this option is "true", but you can set it to false if your input is identical to the field you configured the Macro Input with.
Otherwise if you'd like to keep the field map, are you able to select the appropriate fields when you place the macro in your workflow via the Configuration window? Depending on the number of fields in the original "XYZ" file, you may need to scroll down to configure them all.
Thanks for the prompt reply. I cannot share the data/file for confidentiality reasons but I can show you screenshots:
As you can see here, I get the error I have mentioned.
Now look at the source file:
As you can see, it works perfectly fine. I am using the exact same files so no format issues. I tried saying the macro under a different name with no success..............
How can we fix this? please help
Thx charlie. Disabling the map actually works 🙂 Cheers
Awesome answer.
Thank you for a great solution. How can this be done if we use a Control Parameter as the input to a macro?