Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Handlebar Helpers — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Handlebar Helpers

Received Response
3
Views
4
Comments
edited Sep 2, 2021 8:05AM in Process Automation 4 comments

Summary

Conditional Functions to customize Human Task Notification emails

Content

Hi,

I'm trying to customize the email notification for a human task. I customized the template based on this document

https://docs.oracle.com/en/cloud/paas/integration-cloud/user-processes/customize-notification-emails-human-tasks.html#GUID-6C7FDE60-C1B7-499F-AF88-F109D98DF5C5

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}}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!