You are viewing limited content. For full access, please sign in.

Question

Question

Show Forms Table Info in Email as Rows

asked on January 18, 2024

Hello!

I'm wondering if anyone knows how to take the table information from a Form and show it in a subsequent email in such a way that each Row is grouped together.

Example:

If I have the following Table from a LF Form:

 

I want to send an email in which the body of the email shows like this:

 

1027A - Canon - iP C700 (NAS) - 12345
4ES1307044 - Printronix - Printronix D52X4-0109-000 - 456789
079A - Canon - iR 2525 - 987654

In the email, it seems like I can only seem to group each variable together rather than the rows themselves.

0 0

Replies

replied on January 18, 2024 Show version history

I usually do things like this using workflow because even if you could group the data together you still need html or something to format it cleanly in the email.

Typically, I would have a workflow in which I create a multi value token for the rows, then I use Retrieve Business Process Variables to retrieve the table.

Next, I'd use a For Each Row activity to iterate over each row of the table, build the html string using the current values, and append the data to the multivalue token created earlier.

For example, if you are using an HTML table you would do something like

<tr><td>%(ForEachRow_Column1)</td><td>%(ForEachRow_Column2)</td></tr>

Then in your email, you can plug your multivalue token into the email and flatten the values (use the token editor, select "all values separated by" and leave it blank).

FYI,

Here is your main email text

<table><tbody>%(RowsToken#[]#)</tbody></table>

 

2 0
replied on January 18, 2024

Thanks Jason, I will try this!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.