Forum Discussion

aakumar's avatar
aakumar
New Contributor III
2 years ago
Solved

Filter Array data

Hi all, below is the input data... [ { "items": [ { "itemsFromPS": { "tradeItems": [ { "in": "003500", "code": "CINC" }, { "in": "003622-B", "code": "CINC" }, { "in": "003626", "code...
  • Aleksandar_A's avatar
    2 years ago

    Hello aakumar,

    Attached below is a sample pipeline that does the filtering by the matchingItemNumber.

    You have two approaches included in it.

    The first one uses just one expression in a Mapper Snap, and the other first splits the tradeItems and then filters out non matching items.

    Please let me know if this helps you.

    Regards,

    Aleksandar.