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.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions