Expand my Community achievements bar.

Dive in, experiment, and see how our AI Assistant Content Accelerator can transform your workflows with personalized, efficient content solutions through our newly designed playground experience.
SOLVED

How can we validate map object in condition activity of AJO?

Avatar

Level 1

in("segmentId2",#{ExperiencePlatform.MapApproachPOC.profile._abc_partner.SegmentRanks.keys()})

 

#{ExperiencePlatform.MapApproachPOC.profile._abc_partner.SegmentRanks.entry("segmentId2")} == "1"

 

I have tried above, but it's not working, can someone help?, I am trying to check if segmentId2 value is 1.

segmentranks

1[segmentId1 -> 1,segmentId2 -> 1]
2[segmentId1 -> 1,segmentId2 -> 1]
3[segmentId1 -> 1,segmentId2 -> 2,segmentId3 -> 1]

This is the structure of segment Ranks Map attribute

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@bhargavram Refer to this documentation link on how to reference a field that's defined as a map.

Thanks, Sathees

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@bhargavram Refer to this documentation link on how to reference a field that's defined as a map.

Thanks, Sathees