Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@Pradeep-Jaiswal Right now, Query Service is the only reliable way to do this inside AEP.
AEP doesn’t support maintaining a rolling or fixed-size array on a profile in real time. Features like Computed Attributes or Data Prep are either aggregation-only or stateless, so they can’t “remember” previous values or enforce a last-5 constraint.
The practical pattern is:
This approach isn’t real-time, but it’s scalable, and fully supported within AEP
@Pradeep-Jaiswal hope the response helped in getting resolution for your question. Can you mark it as 'Correct Answer' to help others find resolution too.
Views
Replies
Total Likes
Hi @Pradeep-Jaiswal - As we discussed earlier, we are doing the same, we are using the history of viewed products by filtering the event type based on prodView events and then calling a streaming API via custom action to save it on the profile. For us we are fetching all the products not exactly last five because for us the usecase is to increase the ranking of the product depending on how many times it was viewed in the past.
Thanks,
Arpan
Views
Replies
Total Likes