Skip to main content
Jul 12, 2024 11:36 AM UTC
Solved

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Adobe Champion, Community Advisor, UG Leader
Jul 12, 2024 7:01 PM UTC

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

Thanks, Sathees

1 reply

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
SatheeskannaKAdobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Jul 12, 2024 7:01 PM UTC

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

Translate
Thanks, Sathees