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
Add More Approvers to One Step (Approval Workflow)
Add More Approvers to One Step (Approval Workflow)
More like this
Configuration Overview (Approval Workflow)
Configuration Overview (Approval Workflow)
Read with this
Approval Workflow Logic
Approval Workflow Logic
Read with this
Manage Approver/Watcher Steps
Manage Approver/Watcher Steps
More like this
Manage Approver/Watcher Steps
Manage Approver/Watcher Steps
More like this
How do I set direct approval/denial via email without intermediate step?
How do I set direct approval/denial via email without intermediate step?
Read with this
Found an issue in documentation? Write to us.