Hi Guys
I am trying to setup a notification email based on information from a SQL table that may have multiple rows.
I am creating a token called %(Report) with the following initial value for the table header <th>Store Code</th><th>Item Code</th>
Then for the details i append <tr><td>%(ForEachRow_StoreCode)</td><td>%(ForEachRow_ItemCode)</td></tr> token for each row result.
The workflow runs and the report token ends up with the following value.
<th>Store Code</th><th>Item Code</th>
<tr><td>005</td><td>INS29 </td></tr>
<tr><td>005</td><td>INS321 </td></tr>
<tr><td>001</td><td>W3811-2997 </td></tr>
<tr><td>001</td><td>W3815-3001 </td></tr>
In the email body I type this in
<table>
%(Report#"HTML"#)
</table>
But it does not bring back any info except for the Table Headers( which are not aligned )
Any ideas?