Adding variables helps to customize the Octopus email templates. When the email is sent, the system replaces the variables with the real values.

For example :

Your reference number is '''[[@Request.FullID]]'''.

becomes:

Your reference number is''' 1005'''.

Adding a Variable

To add a variable in an email template, position your cursor where you want the variable to be added in the text and press F3 to bring up then selection window from which you can select the field to include in your template.

Syntax Error

If you manually edit a variable and make a mistake in the syntax, the system will not give you an error message. Having not found a corresponding value, the system will replace the variable with an empty space.


Additional Variables

There are special variables available that you cannot get with F3, because they do not correspond to the name of a field. Some are only valid in certain types of notifications, so make sure that you test them in the context they will be used to validate your results.

[[#Activity.Owner]]
Name of the person who added an activity, in the context of a new activity notification.
[[#Activity.OtherRecipients]]
Other recipients names receiving this email.
[[#Request.ViewURL]]
Hyperlink to the request on the Web Portal.
[[#Request.LastActivity.Summary]]
Summary of the last activity of a request.
[[#Root.Subject]]
Subject of the request linked to an activity.
[[#Root.Description]]
Description of the request linked to an activity.
[[#Request.BriefDescription]]
The 500 first characters of the description of the request. Valid only for the automated response with MainIntegration.
[[#Incident.ResolvedOrClosed.UserName]]
Name of the Assignee that resolved or closed the request in the context of a notification for a resolved or closed request by another assignee.
[[#Incident.CloseURL]]
Hyperlink to close the request in the context of the resolution notification.
[[#Incident.ReopenURL]]
Hyperlink to reopen the request in the context of the resolution notification.
[[#Incident.SatisfactionSurveyURLs]]
Hyperlink with the survey choices in the context of the resolution notification.
[[#Incident.SatisfactionSurveyURLs.Star]]
Hyperlink with the survey choices with pictograms in the context of the resolution notification.
[[#Incident.ResolutionNotes]]
Resolution activity addressed to the User in the context of the resolution notification.
[[#Incident.ResolutionHtmlNotes]]
Resolution activity addressed to the User in the context of the resolution notification in HTML mode.
[[#Incident.Notification.EventDescription]]
Indication "Level 1", "Level 2" or "Breach" in the context of an SLA Escalation notification.
[[#Incident.RelatedConfigurationItemsInventoryNumbers]]
List of inventory numbers of the CIs of an Incident/SR.
[[#Incident.RelatedConfigurationItemsSerialNumbers]]
List of the serial numbers of the CIs of an Incident/SR.
[[#Meeting.Duration]]
Meeting duration in the context of a notification for a meeting invitation.
[[#ChangePasswordURL]]
Hyperlink to change the password.
[[#Activity.Description]]
Activity description.
[[#Activity.HtmlDescription]]
Activity description in HTML mode.
[[#Request.Description]]
Description of the request linked to an activity.
[[#Request.Querent.CompleteName]]
Complete name of the requester of an incident/SR.
[[#Request.Querent.CompleteNameInSentenceContext]]
Complete name of the requester of an incident/SR in the "Firstname Last name" format.
[[#Task.ApproverComments]]
Approver's commentary in the context of an approval notification for an incident/SR.
[[#Task.TakeAssignmentURL]]
Hyperlink that automatically takes assignment of the task and brings the user directly into it from the Web Portal.
[[#Task.ViewURL]]
Hyperlink to the tasks in the Web Portal.
[[#WebPortal.URL]]
Hyperlink to the Web Portal.
[[#Request.Activities]]
Adds all of the activities of a request that have the '''Activity visible on the Web Portal''' activated.
[[#OctopusWeb.ViewUrl]]
Hyperlink to the item in Octopus 5.
[[#Task.ApproveURL]]
Hyperlink to approve and approval request.
[[#Task.RefuseURL]]
Hyperlink to refuse and approval request.
[[#Greeting.FirstName]]
First name of known recipient.
[[#Greeting.LastName]]
Last name of known recipient.
[[#Greeting.FullName]]
Full name of known recipient.