Return object from all() function | Community
Skip to main content
Silvio6
Level 5
January 20, 2025
Solved

Return object from all() function

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

 

I've tried this:

 

 

no errors there but I have this error within the journey

 

 

 

what am I doing wrong?

 

Thanks

Silvio6
Silvio6Accepted solution
Level 5
January 22, 2025

SOLUTION:

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

That returned all emails associated to a profile

3 replies

Silvio6
Silvio6AuthorAccepted solution
Level 5
January 22, 2025

SOLUTION:

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

That returned all emails associated to a profile

Translate
vraghav
Employee
January 21, 2025

@silvio6 try 

serializeList(#{ExperiencePlatform.ProfileFieldGroup.profile.identityMap.all().id}, ",",false)
Translate
Silvio6
Silvio6Author
Level 5
January 21, 2025

not working:



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

 

Translate