Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To create a new template, click Create or copy an existing out-of-box template or another custom template for an event. 

...

The Edit Template screen shows some basic template information as well as the template components. The { } Custom header shown below indicates it's a custom template.

...

Info

Code Editor

For more details on using the code editors on this page for Email Subject and Email Body, see Working with the Code Editor

Field

Description

Template Name

The name of the template.

Events

Associate an event for the template (e.g. Workflow Request Completed). You can also assign more than one event to the same template.

Email Subject

The script to be used for email subject for the event(s).

Email Body

The script is to be used for the email body for the event(s).

Payload

The payload is used in the code editor to give suggestions of what variables and methods are available when accessing the $payload variable, as this will vary depending on the event. If more than one event is associated to with this template, use this to switch between the selected events.

...

The Email Subject and Email Body fields show the script needed to generate the content for the email message. FlexDeploy provides a rich set of APIs to generate the HTML content. See the Java docs for more details on the functions which can be referenced with the $FLEXDEPLOY object. You can also use your custom styles as needed. For help with the syntax of the Velocity Template Language (VTL) and examples, see the Apache Velocity User Guide

...