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.3K All Categories
- 74 General
- 13 Training
- 207 Installation / Setup
- 1.1K Flows
- 110 Rules
- 270 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 344 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 185 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions