Expand my Community achievements bar.

Your voice matters! Help shape the future of Adobe Journey Optimizer by sharing your feedback.
SOLVED

Return object from all() function

Avatar

Level 4

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 4

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 4

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 4

SOLUTION:

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

That returned all emails associated to a profile