Hello All,
I have a requirement to get an event attribute(date field) say 'abc_date' and I have an array object say 'mycollection[]' inside an individual record schema, this array object has a date field mycollection_date. I need to iterate through this array and get the item from the array which has mycollection_date = abc_date and if it matches, I want to finally retrieve another boolean field eg mycollection_boolfield from that item with the matching dates and check if the field is true or false.This should be done in a condition activity within a journey
As I see that condition activity in AJO does not support function like each, if else to iterate and get the required item, is there any way to achieve this ?
Solved! Go to Solution.
Views
Replies
Total Likes
@ngd_11 you can leverage the collection management functions to filter through an array and get to the desired value https://experienceleague.adobe.com/docs/journey-optimizer/using/orchestrate-journeys/building-advanc...
@SatheeskannaK Thank you for the response. That helps, but can you please let me know if there is a way to iterate through an array object attribute (of individual schema) inside a condition activity ?
Views
Replies
Total Likes
Views
Replies
Total Likes
@ngd_11 you can leverage the collection management functions to filter through an array and get to the desired value https://experienceleague.adobe.com/docs/journey-optimizer/using/orchestrate-journeys/building-advanc...
Views
Likes
Replies