Create an email template

Out of the box, AEM Forms provides a template for email notifications. The template provides title description, due date, priority, workflow name, and link of the assigned task. You can also add a custom email template (your own template) for Assign task steps. Perform the following steps to add a custom email template:

  1. Log in to CRXDE with administrator account.

  2. Navigate to /libs/fd/dashboard/templates/email.

  3. Create a .txt file. For example, EmailOnTaskAssign.txt.

  4. Add custom HTML code to the file.

    An email notification template is an HTML email. You can add custom HTML code to the file to create a template.

  5. Save the file. The template is ready for use in Assign Task step.

Use an email template in an Assign Task step

Out of the box, Assign task step is configured to use the default template, htmlEmailTemplate.txt. You can choose to use a custom template. To change the template:

  1. Open the Assign Task step.

  2. Navigate to Assignee > HTML Email Template.

  3. Select the newly created HTML Email Template.

  4. Click OK. The template is changed.

An email notification also uses metadata. For example, due date, priority, workflow name, and more. You can also configure the template to use custom metadata.

Experience Manager


Espressos & Experience Manager: AEM Forms

Espressos & Experience Manager

Thursday, Mar 6, 7:00 PM UTC

Join Adobe's AEM product team as they highlight AEM Forms' latest innovations, including: the new Gen AI Assistant, Unified Composition with AEM Sites, and new ways to deploy forms through conversations.

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more