2 Replies Latest reply on Jul 3, 2017 9:40 AM by beverly

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

    megan1713

      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