Product ID is ingested into the system as follows:
Product ID: 1234|09876|23792
Then, although the values are separated by a pipe character, the system identifies it as a single string, which is incorrect. Moreover, storing it as a string restricts proper filtering in the downstream modules. To avoid this, store it as a list or array of strings. However, since the value is not initially in list or array format, the system converts the entire data into a single value and stores it as ProdID(List String) = ["1234|09876|23792"]. To correct this, use the following directives in your transformer:
Directives for Data Transformation
Code
As a result, the system stores the Product ID as
Product ID: ["1234", "09876", "23792"]. This facilitates straightforward filtering of the values in downstream systems such as Audiences.