Problems with data processing in the OIC
Hello! I am facing a problem when assembling a flow in OIC integration.
My difficulty is the following:
I do a GET with the IDs I receive from our ERP for our products (getOCCfilteredSKUs), in this call I can receive several JSON files for specific products, and this file contains the available colors for each product.
I open a foreach to combine the colors of each product into a single file (ForEachFilteredSKUs), outside of foreach I present their reading.
My problem here is that all the colors are being added, each shekel of (ForEachProductsVA) it concatenates the colors in the same file. What I needed was for each call that my initial GET (getOCCfilteredSKUs ) made to save the colors of the products of that ID, so that I could perform the necessary update, and when the loop happened again, the values would be replaced with the new ones. I will attach some images for better understanding.