I know I can use sub_process
to iterate over an associative array like
field_categories: plugin: sub_process source: remote_categories process: target_id: plugin: migration_lookup migration: my_existing_taxonomy_migration source: name_of_key
But I don’t know how to iterate over a numeric / non-associative array. Assume the JSON data structure
{ remote_categories: [ 'alpha', 'beta', 'gamma' ] }
how can I pass the values as keys to migration_lookup
? I.e. what would be name_of_key
in the example above?