I am getting the below error while trying to iterate a collection attribute(of individual schema) in AJO within condition activity.
Can anyone please help with the correct solution ?
This is my expression:
count(#{ExperiencePlatform.ProfileFieldGroup.profile._publicisglobalemeaptrsd.coverageDetails.all(currentDataPackField.coverageStartDate == @{Enrollment_Event._publicisglobalemeaptrsd.planCoverageDetails.planEffectiveDate}).memberID}) > 0
Solved! Go to Solution.
Views
Replies
Total Likes
@ngd_11 Kindly check if coverageStartDate and memberID attributes are available within the coverageDetails object array and ticked in the profile field group
Views
Replies
Total Likes
try this
count([#{ExperiencePlatform.ProfileFieldGroup.profile._publicisglobalemeaptrsd.coverageDetails.all(currentDataPackField.coverageStartDate == @{Enrollment_Event._publicisglobalemeaptrsd.planCoverageDetails.planEffectiveDate}).memberID}]) > 0
adding [] as it works as a list.
Views
Replies
Total Likes
Hi @ngd_11,
@dugganab's reply here might help you with your query: https://experienceleaguecommunities.adobe.com/t5/journey-optimizer-questions/iterating-array-object-...
Let us know in case you still need help.
Thanks!
Views
Replies
Total Likes
@ngd_11 Kindly check if coverageStartDate and memberID attributes are available within the coverageDetails object array and ticked in the profile field group
Views
Replies
Total Likes