Email template variables
Purpose
This table lists the variables the platform fills in automatically for each email template type — the data each variable carries, such as a link to the affected object or the user who triggered an action, and which templates it applies to. Use it when customizing a template to know what's available to display.
What a template can read
Starting in 20.4, a customized template can read only the variables in this table and the members listed for them, such as object.name. themeColors.secondary, igrafxuser.firstName, and igrafxuser.lastName are readable starting in 20.4.2.
Anything else stops the template from rendering:
- The editor refuses to save the template and shows "This template contains a formatting error. Please correct before trying to save."
- A template saved before 20.4 stops that email from sending. The platform sends an error email to the Send Error Email to address instead, when one is set in Manage email.
Available variables
The Available templates column uses three groups:
- All templates: every email template, including the Invitation Email.
- All standard notifications: the emails listed in the
browserUrlrow. - Cycle schedule emails: Cycle Started (Manual) Email, Cycle Started (Automatic) Email, Cycle Started Warning Email, Cycle Started Error Email, Upcoming Cycle (Manual) Email, and Upcoming Cycle (Automatic) Email.
Some variables aren't always set, and the table says when. Check one with ?? before you print it, for example [#if lastRun??], or give it a fallback with !, for example ${object.getTranslation(useLocale)!object.name}. Dates need a format before you print them, for example ${lastRun?datetime?string(igrafxuser.dateFormat)}.
|
Variable |
Available templates (readable names) |
Explainer |
|---|---|---|
|
|
All templates |
Base Process Design URL for building links |
|
|
All standard notifications: Approved Version Change Email |
Deep link to the relevant page for the event associated with the email. It always resolves to the affected object itself — you can't append a path such as |
|
|
All standard notifications |
The repository object associated with the event.
|
|
|
All standard notifications |
Repository shortname or name in which the relevant object is present |
|
|
All templates |
Brand/tenant colors to style the email.
|
|
|
All standard notifications |
Whether the watcher is marked “required.” |
|
|
All standard notifications |
Best content/UI locale chosen per recipient. |
|
|
All templates |
Link to iGrafx University |
|
|
Commented Email |
Annotation/comment text. |
|
|
Acknowledgement Cycle Paused Email |
Comment entered when the acknowledgement cycle was paused. |
|
|
Acknowledgement Cycle Resumed Email |
Reason/details when an acknowledgement resumes. |
|
|
Review Cycle Started Email |
Display name of the user who initiated the event. |
|
|
Review Cycle Started Email |
Kickoff note/comment when a cycle starts/resumes or attention is requested. |
|
|
Approval Cycle Canceled Email |
Reason given when the cycle was canceled. |
|
|
Approved Version Change Email |
Specific version number relevant to the approval-change notice/cycle completion. |
|
|
Attention Needed Email |
Count of cycles the user was added to |
|
|
All standard notifications (only when the object is an IGX Document, IGX Diagram, or Component) |
Direct Flowcharter Client link to open the document or object. |
|
|
Acknowledgement Cycle Started Email |
Recipient-localized due date string (or “to be determined”). |
|
|
Acknowledgement Cycle Started Email |
|
|
|
Cycle schedule emails |
The user who scheduled the cycle. These emails always go to that user.
|
|
|
Cycle schedule emails |
The cycle's schedule settings, described in Schedule a cycle.
|
|
|
Cycle schedule emails |
Date the previous cycle of this type on the object completed. Not set before the first one completes. |
|
|
Cycle Started (Manual) Email Only when the object isn't a web diagram. |
The cycle schedule emails' equivalent of |
|
|
Cycle Started Error Email |
Localization key of the reason the cycle couldn't start. Show the text with |
|
|
Invitation Email |
The site title, the site URL, and the login name of the user who receives the email. |
|
|
Invitation Email, only when it's sent from Send invitation email or Send password reset email to user (see Manage users and groups). |
|
|
|
All templates |
Any localization property, in the recipient's language. See Reference your own wording. |
|
|
All templates |
Cycle type values: |
|
|
All standard notifications |
Macro that prints the repository name and the object's folder path, with the object name in the recipient's language. Needs |