[Anthill-pro] AHP3.3 job iteration properties in email
notification
Eric Minick
etm at urbancode.com
Tue Sep 18 12:39:19 CDT 2007
Sam,
The interation properties are available off the job trace. You can find
out which properties you have with the getPropertyNames() method and
then lookup the properties with a getProperty(name). I think you need
something like the following snippet placed after the closing div of the
step iteration.
----------------
<h4> Properties </h4>
<div class="data-table-container">
<table class="data-table" cellpadding="4" cellspacing="1" width="100%">
<table-body>
<tr class="data-table-head">
<th scope="col" align="left" valign="middle"><strong>Name</strong></th>
<th scope="col" align="left" valign="middle">Value</strong></th>
</tr>
#foreach($propertyName in $trace.propertyNames)
<tr bgcolor="#ffffff">
<td>$propertyName </td>
<td align="center">$trace.getProperty($propertyName)</td>
</tr>
#end
</table-body>
</table>
</div>
---------------------
Samuel Cameron wrote:
> I have a workflow with a job that is iterated with each iteration having
> different values for a property. How can I display the value of that
> property in an email notification?
>
>
>
> Thanks,
>
>
>
> Sam Cameron
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
More information about the Anthill-pro
mailing list