How to build a dynamic row table in mail body

Hi all,
I want to send the result of check list via Email.(like the pic as followed)
There might have to write some script in activity but I am not familiar with…
It will be appreciate if any suggestion or example.

image
image

image

1 Like

Hi @111183

Please give a try,

  1. Write the results in an Excel.

  2. Use this package, it will convert the excel data into html table,

Thanks

1 Like

Hi @111183

Please find the Zip below for starter help!

test_Process_list.zip (3.0 KB)

Regards

2 Likes

Hi @111183

Appreciate @pravin_calvin for doing this on different way.

Here is an alternative solution for your requirement.



Code:
DynamicRowInHTML.zip (2.7 KB)

Hope this will help you. Thank you.

2 Likes

Hi

There is already an activity from UiPath to create HTML content

Where you can edit and design based on your need with that editor

First ensure your have latest mail activity package
Go to design tab-> Manage Packages-> all Packages-> search for mail package and upgrade it

https://docs.uipath.com/activities/docs/create-html-content

You can pass your datatable to that so it will create a HTML string and we can save that as a string variable and pass it to mail activity

Cheers @111183

3 Likes

Thank you for everyone.I learn a lot from this topic.
Lastly, I install a package which can trans a datatable to html content.

i also found another topic discuss about this situation.

image

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.