Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Return object from all() function

Avatar

Level 5

Hi I want to send the whole list of emails of a profile to Slack

 

I've tried this:

 

Silvio6_0-1737400785597.png

 

no errors there but I have this error within the journey

 

Silvio6_1-1737400888685.png

 

 

what am I doing wrong?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 5

SOLUTION:

serializeList(#{ExperiencePlatform.ProfileFieldGroup.profile.identityMap.entry('email').id}, ",", false)

That returned all emails associated to a profile

View solution in original post

3 Replies

Avatar

Employee

@Silvio6 try 

serializeList(#{ExperiencePlatform.ProfileFieldGroup.profile.identityMap.all().id}, ",",false)

Avatar

Level 5

not working:

Silvio6_0-1737487122205.png



And when I add the email mapping I have this error:

Silvio6_1-1737487228325.png

 

Avatar

Correct answer by
Level 5

SOLUTION:

serializeList(#{ExperiencePlatform.ProfileFieldGroup.profile.identityMap.entry('email').id}, ",", false)

That returned all emails associated to a profile