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

Question

Question

Retrieving Field Group Multi-Value Token Values From Template

asked on June 23, 2021

I'm having one heck of a time trying to retrieve these multiple-value tokens located in a documents template data.  I simply want to gather the Appropriation Name and Amount, combine them in one line and send a separate email for each entry.   With the current process I'm getting 2 emails but just with the Appropriation Name and it doesn't show the Appropriation Amount.  Tried a bunch of other ways to combine the values into one line without success.  Any help appreciated!  John

Capture.JPG
Capture5.JPG
Capture4.JPG
Capture3.JPG
Capture2.JPG
Capture.JPG (36.75 KB)
Capture5.JPG (30.54 KB)
Capture4.JPG (29.77 KB)
Capture3.JPG (29.02 KB)
Capture2.JPG (15.95 KB)
0 0

Answer

SELECTED ANSWER
replied on June 23, 2021

Hi John,

It looks like you're most of the way there, but you will need to include the Appropriation Amount in the email as well since it's a different token. Since you want to make sure you grab the Appropriation Amount that's in the same grouping as the Appropriation Name, you'll need to use the Token Editor to target the specific information you need.

In your example, you're using For Each Value with the Appropriation value, which will give you your separate emails properly for each value listed in the Appropriation field. The only item you'll need to add for your testing email is going to be the matching Appropriation Amount token. To specify that you want the first Appropriation Amount value in the list when you're reporting on the first Appropriation name, the second Amount when you're looking at the second name, and so on--you will want to Apply Index to your token, then use another token to do this dynamically, specifically the Iteration token that results from your For Each Value activity. See example below:

In this example, I'm using the number of iterations to track which value in the multi-value token I want. Does this target what you're looking for?

0 0
replied on June 24, 2021

Yep that did it!  Thanks a ton Anita!!!

0 0
replied on June 24, 2021

Glad to hear it!

0 0

Replies

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

Sign in to reply to this post.