Filter JSON Array Object

Hey saravanakumar84!

If we are using select and table to display those 2 different arrays filtering can be done with few steps.

  1. Drag the select component and add your Array 1 to mapped value.
    image

  2. Add the table with the Array 2 value.

  3. Using .filter() filter out customer_id's matching the selected value.

{{[
{
"customer_id": "1",
"validation_id":"INFO1"
},
{
"customer_id": "2",
"validation_id":"INFO2"
},
{
"customer_id": "3",
"validation_id":"INFO3"
},
{
"customer_id": "1",
"validation_id":"INFO4"
}
].filter(x=>x.customer_id==select1.value)}}

Hope this helps!