I am attempting to use the results of a Custom Query to send out a variety of emails using a Conditional Decision. The branches are using the results in the Status field of the data I extract to determine which path is valid, and the emails are using data from the First_Name and Email fields.
I have the query set up and I believe it is successfully pulling data from my db because when I run the test, it returns the correct # of rows.
My question is, how do I set up the parameters so that I can use the extracted data as tokens in my email process? I have scoured the help resources and tried all kinds of things in the "Values" column, but nothing seems to work - tokens are not created. The workflow runs successfully, but no emails are sent; it appears that this is because there is no data being passed through. (I do have data that should be meeting the requirements in my Conditional Decision area. The "Rows to Return" area in the Custom Query is set to "All rows"). Here is my workflow:
The For Each Row tool is set to "Get Rows From" = Custom Query Results
Here are the Conditions results after it runs:
And here is my query: