Forum Discussion

JensDeveloper's avatar
JensDeveloper
Contributor II
3 years ago
Solved

Get each value from an array and create for each a record

HI experts, I have this input and the array of EmailAdresses can consist of 1 - 5 addresses: [ { “BusinessPartner”:“10”, “LastName”:“lam”, “SearchTerm1”:“lam”, “to_BusinessPartnerAddres...
  • Aleksandar_A's avatar
    3 years ago

    Hi @JensDeveloper,

    You can try by using Mapper Snap with the following settings:

    Expression used:

    jsonPath($, "$EmailAddress[*]").map(x => {"EmailAddress":x})
    

    Let me know if this helps.

    BR,
    Aleksandar.