@Jon_Tehero
Thank you for the quick response.
I modified the profile attribute as shown in the article.
Now,
user.lastViewedTenSubCategories = ["abc","xyz"]
As per the inclusion rule, it should display all the items that belong to sub-category "abc" or "xyz" but it only displays items that belong to sub-category "abc" which is the sub category of the item I am using as my recommendation key.
Looking at the trace output, I can see the following inside "inclusionrules":
{
"attribute" : "subCategory1",
"operation" : "isContainedInList",
"sourceAttribute" : {
"name" : "user.lastViewedTenSubCategories",
"type" : "PROFILE",
"excludeAllWhenEmpty" : true
},
"values" : [ ]
}
In the above output, it shows an empty array in "values".
What am I doing wrong?