Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
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