How can we validate map object in condition activity of AJO? | Community
Skip to main content
July 12, 2024
Solved

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

  • July 12, 2024
  • 1 reply
  • 623 views

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.
Best answer by SatheeskannaK

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

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
July 12, 2024

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

Thanks, Sathees