/
How to Add Approver to Workflow Email Template
How to Add Approver to Workflow Email Template
To access the approver of the current workflow step, use:
$workflowHistory.activeStep.executedByNames$
If you want to have a list of all approvers of a quote, you can iterate through the workflow history steps with the code below:
<table>
<tr>
<th align = "left">Workflow comments:</th>
</tr>
$workflowHistory.steps: { step |
<tr>
$if(step.executedByNames)$
$if(step.comment)$
<td>Step: $step.uniqueName$, Executed By: $step.executedByNames$, Reason: $step.comment$</td>
$else$
<td>Step: $step.uniqueName$, Executed By: $step.executedByNames$, Reason: N/A</td>
$endif$
$endif$
</tr>
}$
</table>
The above code will look like this in a workflow email:
, multiple selections available,
Related content
Message Templates
Message Templates
More like this
Configuration Overview (Approval Workflow)
Configuration Overview (Approval Workflow)
Read with this
Can I send notification email to quote creator instead of submitter?
Can I send notification email to quote creator instead of submitter?
More like this
How to Add a Download Button to Dashboard
How to Add a Download Button to Dashboard
Read with this
How to Add Your Own Button to Navigation
How to Add Your Own Button to Navigation
Read with this
Workflow, Post Step Logic - Handbook
Workflow, Post Step Logic - Handbook
Read with this
Found an issue in documentation? Write to us.