I hope you can help me. I have this collection of multiple arrays, containing emails. As an end result I would like to obtain a single array of emails.
I have tried the map function, but as I don’t have a key I can’t use this method! I have also tried merge, but as the number of arrays is variable I don’t understand how to set it.
Since that is a collection, you’ll have to convert it into an array before you can merge the sub-items.
You can use the built-in function toArray
e.g.:
toArray(34.noempty_string)
Then you should be able to iterate and Text Aggregate the email addresses.
If you need further assistance, please provide the following:
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
A.
Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
@LDP - @samliew has a perfect solution for this and well done to both of you to get it working. Can I suggest my video series for Make Newbies that will take you through a whole set of fun videos and samples to manage data structures like this?
It will help you immensely as you continue your Maker journey.