Collection Management in AJO | Community
Skip to main content
Level 2
October 11, 2023
Solved

Collection Management in AJO

  • October 11, 2023
  • 3 replies
  • 1041 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mohan_Dugganab

@ngd_11 Kindly check if coverageStartDate and memberID attributes are available within the coverageDetails object array and ticked in the profile field group

3 replies

Silvio6
Level 5
October 17, 2023

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.

Sukrity_Wadhwa
Community Manager
Community Manager
December 18, 2023
Sukrity Wadhwa
Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
December 18, 2023

@ngd_11 Kindly check if coverageStartDate and memberID attributes are available within the coverageDetails object array and ticked in the profile field group