I am attempting to set up a process in Orchestrator that will generate and send an email from an HTML template. However, I also want to be able to add data to that template from the results of a SQL Server query.
For example, here is a section of the template where I want to add data:
<tr>
<td align="right" valign="top">
<font color="#2684AB" face="arial" />
File:
</td>
<td align="left" valign="top">
<font color="#2684AB" face="arial" />
<!-- Data goes here (field is named FileName) -->
</td>
</tr>
The only problem is that I'm not sure how to go about this. I know how to call the query, but I don't know how to add the data to the template. If this helps at all, I also know all of the fields where I am pulling data from. Any suggestions? I should also add that I am relatively new to working in Orchestrator.
It's my code sample: