How to send multiple items of same entity in a mail?

0
Hi, This is my email template. I am using tokens to pass the values. But I want to pass details of multiple employees in my mail. I tried doing it and only the first employee details were sent.   Thank you Sherlin.
asked
5 answers
0

Iterate over the employees. In each iteration do the token replace and concatonate the generated strings and use that in the mail.

Regards,

Ronald

 

answered
0

HI Sherlin , Split string based on any special character and print in new line and return it as a string in java action. Pass this value to the mail token. Thanks

 

Regards

answered
0

This is my domain model. I am passing Overtime_Request as the object to the token replacer action. I am retrieving the Employee details through reference at the email template side, as follows:

 

answered
0

Split string based on any special character and print in new line and return it as a string in java action. Pass this value to the mail token.

answered
0

Just build the main string attribute for the email using the data. then iterate over each of the employees adding the full set of data in the rows below.

answered