Need to display a dynamic table in an email body by using 'Send E-mail'

Need to display a dynamic table in an email body by using 'Send E-mail' node. number of rows in table will be based on number of values in a text array field in process variable. Any Ideas ?

OriginalPostID-163204

OriginalPostID-163204

  Discussion posts and replies are publicly visible

Parents
  • Use an HTML template on the Send Email node. On the HTML Template, have a key that would take in an HTML table. You can either leverage that HTML Display Functions plugin or you can create your own expression rule to generate an HTML table (depends on your style requirements). Use an apply to loop through the items of the array while at the same time appending the appropriate HTML tags. The output of this expression rule should be a HTML table. That HTML table should be saved in a variable and then passed into that key on the HTML template.
Reply
  • Use an HTML template on the Send Email node. On the HTML Template, have a key that would take in an HTML table. You can either leverage that HTML Display Functions plugin or you can create your own expression rule to generate an HTML table (depends on your style requirements). Use an apply to loop through the items of the array while at the same time appending the appropriate HTML tags. The output of this expression rule should be a HTML table. That HTML table should be saved in a variable and then passed into that key on the HTML template.
Children
No Data