Hello !
I am currently facing an issue with using a filtered value to refer back to an array. Specifically, I have successfully identified the common values between two arrays, but I am unsure of how to retrieve the corresponding records from one of the arrays based on these common values.
My objective is to obtain the records from Array1 that match the common values between the two arrays, which are identified based on two columns: Description and Amount.
This is my current flow:
Retrieve data through HTTP.
Compose the message body from an array.
Reshape the output of the composition step to produce only two objects.
Use these two objects to compare between two arrays and extract the common value


Able to get common value thru step initialize variable and Filter array is not working.
My array1 and array2 similar as below ( It was a long list and I only shows necessary object) :
[
{
"id": "067b3026-91b9-ed11-9a88-000d3ac75e55",
"entryNumber": 3703,
"bankAccountNumber": "CHECKING",
"postingDate": "2023-03-03",
"documentType": " ",
"documentNo": "NPR-000050",
"description": "cash",
"currencyCode": "",
"amount": 932.09,
},
{
"id": "4e265f80-cebb-ed11-9a88-6045bd1cd407",
"entryNumber": 3765,
"bankAccountNumber": "CHECKING",
"postingDate": "2023-03-06",
"documentType": " ",
"documentNo": "NPR-000063",
"description": "cash",
"currencyCode": "",
"amount": 528.48
}
]
I reshaped the array to 2 elements ( description and amount) for compare purpose.
[
{
"description": "Relecloud",
"amount": 400
},
{
"description": "Alpine Ski House",
"amount": 500
}
]
If you have any insights or suggestions on how I can accomplish this task, I would greatly appreciate your help.