Handlebar Helpers
Summary
Conditional Functions to customize Human Task Notification emailsContent
Hi,
I'm trying to customize the email notification for a human task. I customized the template based on this document
My form payload is something like this
approvalForm-->response-->data-->approvalRequired ="Y"
approvalForm-->response-->data-->approvalRequired ="N"
I have to render the Approval Actions based on approvalRequired flag. Below is my customization
{{#payload}} {{#approvalForm}} {{#response}} {{#data}}
{{#neq approvalRequired "Y"}}
{{#actions}} Actions: {{{actions}}} {{/actions}} {{/neq}}
{{/data}}
{{/response}}
{{/approvalForm}}
{{/payload}}