Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (12.7k points)

I currently have a collection that can have between 2-4 rows and I am trying to attach these rows to an email body.

However, when I am using the 'Email Notifications' Business Object and the 'Notifications-Send Email' action, it only enters the first row and ignores the rest.

I have attached screenshots below of my process

How can I make it so it enters all rows in the email? If there is a code stage way possible I am open to that also

enter image description here

enter image description here

enter image description here

enter image description here

1 Answer

0 votes
by (29.5k points)

The first thing you need to do is add this collection to the email, you need to change it to a string so that it can be added to the email. The way you've built it, you're only adding a value from one cell - the one from that column and current row. There is no official Utility action that can change collection to text.

The other way is to loop through collection [Emails Not Sent] and join the data from collection to a text data item. Then you can use that data item in the email that you're sending.

I'd like to suggest for you, to send emails using HTML mode. There are numerous advantages to that - you can use HTML formatting, hyperlinks, tables.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...