Table in Email Body
Comments
-
We don't have the ability to directly email a list of entities in a table structure in emails. You will need to dynamically build the HTML for the table and then use that on the Email step. I would recommend using the Custom Merge [NVelocity] step to build the table's HTML. Then pass the results into the body of your email.
In the NVelocity step, you will need to provide the HTML template you want to be used. To include variables, select Use Brackets and include any variables as
${variable}
<div> <table id="requestContents"> <colgroup> <col style="width: 128px"> <col style="width: 136px"> <col style="width: 84px"> <col style="width: 113px"> <col style="width: 123px"> </colgroup> <tr> <th>Column 1</th> <th>Column 2</th> <th>Column 3</th> <th>Column 4</th> <th>Column 5</th> <th>Column ${Number}</th> </tr> </table> </div>
In the Send Email step, we will want to Merge HTML Text for the body of the email and pass in the output we got from the NVelocity step.
- Custom Merge [NVelocity] step: https://documentation.decisions.com/step-library/docs/custom-merge-nvelocity
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions