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

Question

Question

Retrieving Forms variables from a row to use in Workflow

asked on June 5, 2018

Good Afternoon,

 

I have an end user who has created a workflow process that retrieves variables from a forms process. One of these variables is an email address from table in the form. This table has been set up so that the user can add another row(s) if they wish which includes another email address.

 

The workflow has an "Email" activity set up to send emails out to the email address associated with one of the variables from the Forms process (I have attached and screen shot of the workflow process and the email activity). What we are running into is that, it succesfully grabs the value of the first row, but does not grab the values from the second row (I have attached a screen shot depicting the example of the rows from the Form).

 

Is there a way to set up workflow to grab the information from each row and then update the email activity to populate these emails in the "To" section?

 

Thanks!

WF Process.jpg
Forms Rows.jpg
WF Process.jpg (62.27 KB)
Forms Rows.jpg (18.2 KB)
0 0

Replies

replied on June 5, 2018

You have to treat variables from tables/collections like you would a multivalue token within Workflow.

If you just assign the token normally it will only ever give you the first value, so if you want all of them, you need to open the Token Editor for the variable token and under the index options select "All values separated by" with a semi-colon as the delimiter.

Alternatively, you could also do a for each loop in workflow to iterate through each row of the table and add them to a separate token that you then use for your recipient address.

2 0
replied on June 5, 2018

Thanks Jason! I will test and see.

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

Sign in to reply to this post.