Why is my map() function not working?

:bullseye: What is your goal?

I want to have a simple array that only gets the Id values from the previous bundles.

:thinking: What is the problem & what have you tried?

I have checked the documentation of the map() function and several help files. I believe I’m doing exactly what the docs say: use map() on the array and pass in the Id field name. I have tried capitals, lower case, etc. The result is always an array of empty strings. What am I doing wrong?

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey Jurgen,

map() works with the raw name of the variable. Inside the menu that allows you to map stuff, you can hover over Id to see the raw name. Most likely its something else, hence why it doesn’t work.

Thank you!

Indeed, I had already tried that. But it turns out I made a typo. :man_facepalming:t2:

The raw name is a really long string and copy-paste doesn’t work. :man_shrugging:t2:

Thanks again

2 Likes