AnsweredAssumed Answered

Using a Script to send an email with data from multiple records

Question asked by megan1713 on Jul 3, 2017
Latest reply on Jul 3, 2017 by beverly

Hello,

 

I am currently trying to write a script that will send an email with data from multiple records. I set the script to perform a find for the correct records, and then I started a loop, and set a variable with the fields I need. The find is working correctly, but for some reason the email only contains data from the last record in the found set. Does anyone know what I am doing wrong or how I could fix my problem?

 

Ex. of what I want in the email:

Record 1-

FirstName LastName

Email

Record 2 -

FirstName LastName

Email

Outcomes