This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Hi,
I created a basic iterative macro that increments each run.
When I select 'All Iterations will have the same output schema' (attached iterate_same_output.yxmc), the results are as expected:
But when I select 'Auto Configure by Name' (iterate_autoconfig.yxmc) or 'Auto Configure by Position'. I only get a subset of results . It seems to be returning one for each time the iteration count is the same:
Could someone explain this behavior or point me to some documentation?
I've attached the macros and the test workflow.
Thanks!
Laura
I bet it has to do with field size.The first result "one" has a size of 3, and the only other record that comes through ("six") is the only other record with a field size of 3.
Use a select tool before the macro to force the "name" field to a larger size like 24 and that should do the trick.
Thanks for the suggestion!
Unfortunately that doesn't seem to help.
Below are screenshots showing the size.
I also tried using names that were exactly the same length and that didn't help.
Expected values, multiple have same length names:
Unexpected values. When year is the same only the first row shows up.
(had exact same input as above. Was run at the same time.)
Macro workflow, showing field size and Interface Designer settings
Were you ever able to figure this out? I'm running into the same issue.
@Laura1 What version of Alteryx Designer are you using? Did this ever work for you? I opened the attached workflow and macros in 2018.3 and they produced the same (correct) output.
@KingFisher9 If you'd like to start a new topic, or send me a message — I'll see what I can do to help.