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

Question

Question

How to send variable from a table separately?

asked on July 18, 2017 Show version history

Hi all,

I have a table that a user can add rows to. I have an email going out for each row of the table using the process modeler. My table is simple, the user simply inputs names:

The table variable is 'variable_4'. The email that sends the notification is:

Here's the same image, but showing the HTML:

If there are multiple rows, it adds all the names entered, separated by a comma. I would like to only display the first name in my first email, the second name in my second, etc. So for example, how would I go about sending an email and only pulling the name from #Field30(1) as referenced in the picture above?

 

I'm using Forms 9.2.

0 0

Replies

replied on July 18, 2017

I am not certain if you can do that in Forms.  I usually do my email notifications in workflow instead.  I believe you can easily do that by the following.  If you have 4 rows in your table and you want 4 emails each with the value of one of the columns you would need to retrieve the table.  In the For Each you have the token for the For Each ColumnName.

 

0 0
replied on July 19, 2017

Chris,

Thanks for the response. The main reason I'm trying to do it in the Process Modeler is because I have 4 forms within the same process. So I'm trying to send an email for each row added to the table, with the name from that row. Hopefully that makes sense. So I need one email per witness name, and I would like for the email to contain that witness's name. So I'm not sure if workflow could work to do the rest of what I'm needing.

 

I'll certainly look into it though. I appreciate the help.

0 0
replied on October 12, 2023

@████████ did you ever find a hack for doing this in Forms? Thanks!

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

Sign in to reply to this post.