...
- Access the quote object in the template.
- Access quote.lineItems.
- Iterate through it and access 'outputs'.
- Iterate through it and display the results.
Code Block |
---|
<tr><html> <th align=left><b>Last Approvers</b></th> <td align=right>$workflowHistory.steps:{ step | $if(step.approved)$ $step.executedByUsers: {user| $user.lastName$, $user.firstName$ [$user.loginName$] }$ >> $step.uniqueName$ >> <b>APPROVED</b> $step.approvalDate$<br/> $endif$ $if(step.denied)$ $step.executedByUsers: {user| $user.lastName$, $user.firstName$ [$user.loginName$] }$ >> $step.uniqueName$ >> <b>DENIED</b> $step.approvalDate$<br/> $endif$ }$</td> </tr><body> The following items on the quote $quote.uniqueName$ - $quote.label$ were marked as won: $quote.lineItems:{ item | $if(item.priceRecordId)$ $item.sku$ $endif$ }$ <p> Created by: $quote.createdByName$ </p> </body> </html> |