I'm using a non-standard API response pattern to group my import data into rows.
I shouldn't need to use the one-to-many as the data is now grouped into an array of arrays. In the preSave function on this lookup the options.data, when printed to the console/logs, is an array of arrays as well. IO should treat each item within that array as a separate "record".
I'm then mapping the data back to the original data:
When the lookup step is complete though, I'm still only getting 1 record being imported instead of the 2+ records I'd like to be importing based on the grouped lookup data.
Any idea what i'm missing here to get this lookup to split into multiple records? I've tried changing the results mapping to data[*] but that doesn't return anything.
Please sign in to leave a comment.