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.
I wrote a macro selects a number of fields from a datafile, based on a list of fieldnames.
So this data goes in
and my second input says
So my macro outputs
This goes well, but when I input this macro into my flow then it "thinks" it will cause an error (cf below).
When I run the flow, the macro goes well. The problem is the next step (the dynamic rename, which takes field names from right input rows).
The dynamic rename somehow "forgets" the configuration. I say it should take field x and rename it to field y, but while running the flow, it forgets that it should take field x.
I assume that is because the macro thinks it's outputting 0 fields.
Does anyone know a workaround?
The macro work when I ran it.
Can you send an example that fails?
please find attached a better example.
Every time I run the flow, the rename resets to "variable_type", while it should always be "variable".
Just as a sidenote: I know I can fix this by putting this dynamic rename in a macro, and updating the field names (as attached).
i was just really hoping there's a smarter & more elegant fix
Nobody :( ?