Skip to main content
Version: Omada Identity on-premises 16.0.0

Email templates

Email templates are used in Send email actions, enabling you to send email notifications whenever a defined process event occurs.

You can find this view in Setup > Administration > User Interface > Email templates.

In this view, you can browse through the predefined email templates, edit them, and create new ones.

note

You can find where each email template is used by clicking on the right-side of the list and select Usage.

Create and edit email templates

In the Email templates view, you can create templates that can be used to generate and send emails for the required cases (access requests, results of surveys, organizational changes, and such).

Variables and object properties allow you to include the information relevant to the particular recipient and the context of the email.

Follow these steps to create an email template:

  1. Go to the Email templates view.
  2. Click New.
  3. Enter a unique name for your template.
  4. In the field The template is used to send emails regarding an object of this type, select the object type the email template is used for (and whose properties will be used in the message body).
  5. Select the Email priority.
  6. Select the checkbox Template is used to send emails generated by a process event to use the email template in a process event, and define the type. This setting makes all properties available independent from whether they are available in your context or not.
  7. Click Apply.

Your email template is created, and you can now work on the email's subject and message.

info

The out-of-the-box email templates are already translated in all default languages.

note

To change the name that is displayed in the From line in system emails, change the value of the customer setting Mail sender display name.

Customizing templates with HTML

You can customize the message with HTML. Make sure to use that formatting in the Message field:

<html>
    <head>
    </head>
        <body>
            <img src="...">
            <h1>This is your message title.</h1>
            <b> This is the body of your message.</b>
        </body>
</html>
tip

Displaying images in the email depends on your email client and local security settings. You can convert your images to base64 and embed them into HTML.

Download and customize email templates

You can download a set of email templates as a .zip file. The templates include a modern and updated design that improves the look and feel of your email communication.

After you download the templates, update the HTML to match your requirements. Then copy the content into the Message field in Setup > Email templates.

These are the available email templates:

  • Access request mobile approval
  • Access request mobile approval (original)
  • Account created notification (identity)
  • Account created notification (manager)
  • Account created notification (owner)
  • Activity overdue
  • Activity rejected
  • Approval process launch failed - Requester
  • Approve data changes
  • Contractor onboarded
info

To download these email templates, go to: New email templates.

Customizing templates with object type properties

You can customize the email subject and message with object type properties. To do so, follow these steps:

  1. In the email template, in the right side of the Subject or Message field, click the + icon.

  2. In the Select email variables window, you can see all the properties from the object type selected in the field The template is used to send emails regarding an object of this type as well as standard mail variables (Fixed fields), such as [ReceiverEmail], [EditorFullName], and [ActionObjectURL].

  3. Check the properties to add and click OK. The properties are added to the corresponding field.

Email template variables

Email templates support two types of variables:

  • Standard mail variables (also known as Fixed fields), which are available in all email templates and can be used together with object type properties in the same template. Key characteristics:

    • Universal - available in all email templates.
    • Context-aware - values change based on who receives the email and what triggered the event.
    • Always consistent - same variable name, same behavior across all templates.
    • Predefined - cannot be customized. Omada Identity defines them.
  • Object type properties, which are available based on the selected object type for the template.

Both types can be used together within the same email template.

Standard mail variables vs. object type properties
  • Standard mail variables: Fixed fields such as [ReceiverEmail], [EditorFirstName] that work in any template.
  • Object type properties: Properties specific to the object type selected in the template. For example, if the template is based on Identity, you can use properties such as [FIRSTNAME], [JOBTITLE], and other Identity attributes.

Standard mail variable reference

note

If a variable cannot be resolved because the required information is unavailable, the variable may remain visible in the email or resolve to an empty value depending on the variable type and context.

Recipient information
VariableDescriptionAvailabilityExample
[ReceiverEmail]Email address of the recipient.Alwaysjohn.doe@company.com
[ReceiverFirstName]Recipient's first name. If recipient user information is unavailable, the variable is not replaced and remains visible in the email. If the value exists but is empty, it resolves to blank text.When recipient has UserInfoJohn
[ReceiverLastName]Recipient's last name. If recipient user information is unavailable, the variable is not replaced and remains visible in the email. If the value exists but is empty, it resolves to blank text.When recipient has UserInfoDoe
[ReceiverUserName]Recipient's user name. If recipient user information is unavailable, the variable is not replaced and remains visible in the email.When recipient has UserInfojdoe
[ReceiverFullName]Recipient's formatted full name according to the configured user name format. If recipient user information is unavailable, the variable is not replaced and remains visible in the email.When recipient has UserInfoDoe, John
Event initiator information
VariableDescriptionAvailabilityExample
[EditorFirstName]First name of the user who triggered the event. Resolves to N/A for timer-triggered events.All events except timer-triggered eventsJane
[EditorLastName]Last name of the user who triggered the event. Resolves to N/A for timer-triggered events.All events except timer-triggered eventsSmith
[EditorUserName]User name of the user who triggered the event. Resolves to N/A for timer-triggered events.All events except timer-triggered eventsjsmith
[EditorFullName]Full name of the user who triggered the event, formatted according to the configured user name format. Resolves to N/A for timer-triggered events.All events except timer-triggered eventsSmith, Jane
[EditorEmail]Email address of the user who triggered the event. Resolves to N/A for timer-triggered events or when no email address is configured.All events except timer-triggered eventsjane.smith@company.com
Organization information
VariableDescriptionAvailabilityExample
[CustomerName]Name of the organization configured in Omada Identity. Useful for branding and organization-specific messaging.AlwaysOmada
Event definition information
VariableDescriptionAvailabilityExample
[EventDefNumber]Numeric identifier of the event definition associated with the notification. Resolves to N/A if no event definition is available.Always15
[EventDefName]Name of the event definition that triggered the notification. Resolves to N/A if no event definition is available.AlwaysEmployee Onboarded
Workflow and activity information
VariableDescriptionAvailabilityExample
[Transition]Name of the workflow transition. A transition occurs when an activity moves from one state to another within a process.Activity transition eventsApproved
[ReassignmentMessage]Message entered when an activity is reassigned to another user. Resolves to N/A outside reassignment scenarios.Activity reassignment eventsPlease complete this ASAP
URL references
tip

Use [ActionObjectURL] in most email templates because it provides a direct link to the object that triggered the notification.

VariableDescriptionAvailabilityExample
[ActionObjectURL]URL to the object that triggered the notification. The URL is generated automatically from the action object and the configured website settings, and includes all information required for direct navigation (such as customer ID and dialog type). This is the recommended URL variable for most templates.Alwayshttps://mycompany.omada.local/main.aspx?...
[TargetObjectURL]URL to the target object associated with a process. Not available when the notification is not related to a process or activity.Activity and Process eventshttps://mycompany.omada.local/main.aspx?...
[ToActivityWorkItemURL]URL to the activity work item that an activity transitions to.Activity transition eventshttps://mycompany.omada.local/main.aspx?...
[ActionActivityWorkItemURL]URL to the activity work item when the action object itself is an activity.Activity-based eventshttps://mycompany.omada.local/main.aspx?...
Object identifiers
VariableDescriptionAvailabilityExample
[DataObjectId]Internal numeric identifier of the data object. Typically used for troubleshooting, auditing, integrations, or API lookups.Always4521
[DataObjectUId]Globally unique identifier (GUID) of the data object. Recommended for integrations and scenarios requiring a persistent identifier.Alwaysa1b2c3d4-e5f6-7890-abcd-ef1234567890
Deprecated variables
VariableDescriptionReplacement
[WebSiteURL]Deprecated and retained for backward compatibility only. The value is calculated automatically based on the action object and cannot be configured. Depending on the event context, it may resolve to an unexpected object (for example, during activity transitions). Use the dedicated URL variables instead.[ActionObjectURL]

Using object type properties

In addition to standard mail variables, email templates can include object type properties that are specific to the object type selected for the template.

When creating an email template, you select a data object type (for example, Identity, Organization Unit, or another object type). Once selected, any property belonging to that object type can be referenced in the template.

Example: Identity template
Object Type Selected: Identity
Available Properties: FirstName, LastName, Email, etc.

Template Text:
"Hello [ReceiverFullName], please note that [FirstName] [LastName]
(email: [Email]) has been onboarded."

Email Result:
"Hello Doe, Jane, please note that John Doe (email: john.doe@company.com)
has been onboarded."
Adding object type properties to your template

To add object type properties to your template:

  1. Open Setup > Administration > User Interface > Email templates.
  2. Open an existing email template or create a new one.
  3. In the Subject or Message field, select +.
  4. The Select email variables dialog displays all available properties for the selected object type.
  5. Select the properties you want to add.
  6. Select OK.

The selected properties are inserted into the template using the format [PropertyName].

You can use object type properties and standard mail variables together within the same subject or message.

Combining standard mail variables with object type properties

Example template

Subject: Contractor onboarded

Dear [ReceiverFullName],

A contractor has been onboarded.

Auto generated IdentityID: [IDENTITYID]
Initial password: [INITIALPASSWORD]

Details:
First name: [FIRSTNAME]
Last name: [LASTNAME]
Email: [EMAIL]
Org. unit: [OUREF]
Valid from: [VALIDFROM]
Valid to: [VALIDTO]

Example output

Subject: Contractor onboarded

Dear Smith, Jane,

A contractor has been onboarded.

Auto generated IdentityID: ID-000012547
Initial password: TempPass#2026!xY9

Details:
First name: Robert
Last name: Johnson
Email: robert.johnson@contractor.com
Org. unit: IT Services
Valid from: 2026-06-01
Valid to: 2026-12-31

Variable troubleshooting

What you seeCauseSolution
Property name appears in brackets, for example [FirstName]The property does not exist on the selected object type and is not included in the list of Fixed fields.Verify the selected object type and available properties.
Shows N/AThe property exists but no value is available in the current context.Expected behavior. The data is not available for the current object.
Nothing is displayed (empty text)The property exists but either has no value or the user does not have permission to view it.Verify data availability and permissions.

Using public customer settings

You can also use public customer settings as properties in email templates with the format [CUSTSETTING:<name of public customer setting>], for example:

This option works for customer settings marked as Public. You cannot select this checkbox directly in the Omada Identity's user interface, but you can do so via the API.

Reference paths for email

In some cases, you may want to add a property which you cannot find on the target object to an email. For example, when the email template is linked to Activity as the data object type, you cannot access the target data object information on the basis of the available properties. You can still access many properties using the target data object and Reference Path features.

For the email template variables, the format is: [REFPATH:/HOPOBJECT:[PROPERTYNAME]]. This skips one step in the reference path and inserts the value of PROPERTYNAME.

example
  • [PROPERTYNAME] is the direct access to a property available in the email template, for example, Firstname, if available on the target object or common fields such as ReceiverFullName.

  • [REFPATH:/HOPOBJECT:[PROPERTYNAME]] skips one step and inserts the value of PROPERTYNAME.

  • [REFPATH:/HOPOBJECT/[ANOTHERHOPOBJECT]:[PROPERTYNAME]] skips two steps and inserts the value of PROPERTYNAME.

  • [TARGET_PROPERTYNAME] enters the property that is directly referred from the target. This should work if you have Activity as the object type of an email but send it from within a process.

limitations
  • The use of reference paths for emails is only supported for regular data objects. Reference paths for shadow data objects are not supported.
  • Email templates can only dynamically populate properties that are available on the selected object type or can be accessed through supported reference paths. Properties belonging to related objects (such as resource assignments) may not be resolved in emails if there is no relationship to the target object of the email template.

Troubleshooting

  • If the property that you entered in the Message field does not exist in your object type, the property name within brackets remains in the email instead of being replaced by any value, for example, ROLEASSIGNMENTS.

  • If N/A is displayed, it means that your property exists but not in this context, for example, ROLEASSIGNMENTS is not on the target object of the email template.

  • Nothing is shown in the email if the property exists and in the correct context, but the value is actually empty.

  • Nothing is shown either if you use an invalid reference path.

  • If you select A specific user/group as the email recipient, it will impact the mail template reference paths (if the template contains any). Only the values for which the recipient has permission will be replaced; keys for which the user lacks permission will be replaced with empty strings. This applies separately to each key that must be replaced in the subject/message.