Use 'HTML Template' Property of Information Activity
- Last UpdatedJun 10, 2024
- 2 minute read
You can use the html email template that is present in the physical folder [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Templates\OutlookEmailTemplate\Information.html in the 'HTML Template' property of CheckList activity.
Complete the following steps to customize the Task.html.
-
Right-click the Information activity and then select Activity Properties.
-
Under Mail Channel group, set the Use html template from property to Yes.
-
Under Mail Channel group, click the HTML template edit icon.
-
Go to [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Templates\OutlookEmailTemplate\Information.html path and take a copy of the default html template file of Information activity. Make the necessary changes to the copied file.
Note: While modifying the Information email template the following place holders should not be modified as these are necessary for the engine to process the mails that are received from the actors.
-
Notes
<td bgcolor="#FFFFFF" class="style2"><%#Notes%> </td>
-
-
Replace only the following place holders in the copied html template as per the table below. This is because the place holders which is in ' <%# %>' format will not support in customized html format.
Note: Make sure that only the following specified place holders are replaced. Do not replace any other place holders.
Keyword
Replace with
<%#locSalutation%>
[%#locSalutation%]
<%#ActorName%>
[%#ActorName%]
<%#locMailDescription%>
[%#locMailDescription%]
<%#Notes%>
[%#Notes%]
<%#locResponseOptions%>
[%#locResponseOptions%]
<%#locRespondByWeb%>
[%#locRespondByWeb%]
<%#workitemView%>
[%#workitemView%]
<%#docview%>
[%#docview%]
<%#locDocViewURLText%>
[%#locDocViewURLText%]
<%#executionView%>
[%#executionView%]
<%#locExecutionViewURLText%>
[%#locExecutionViewURLText%]
<%#locSignature%>
[%#locSignature%]
-
After replacing place holders, the code is as shown below.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Mailer</title>
<style type="text/css">
<!--
.style2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: Normal;
color: #333333;
}
.Username {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: Bold;
color: #333333;
}
.subject {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: Bold;
color: #333333;
}
.style8 {
color: #FF3300;
font-weight: bold;
}
.style9 {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; }
-->
</style>
</head>
<body>
<table width="700" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td valign="top"><table width="100%" border="0" cellpadding="5" bgcolor="#FFFFFF">
<tr>
<td><span class="Username">[%#locSalutation%] <strong>[%#ActorName%]</strong> </span>,
<p class="style2">[%#locMailDescription%]</p></td></tr>
<tr>
<td bgcolor="#FFFFFF" class="style2">[%#Notes%] </td>
</tr>
<tr>
<td bgcolor="#EBEBEB" class="style4">[%#locResponseOptions%]</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="style2">
<tr>
<td><a [%#workitemView%]>[%#locRespondByWeb%]</a></td>
</tr>
<tr>
<td><a [%#docview%]>[%#locDocViewURLText%]</a></td>
</tr>
<tr>
<td ><a [%#executionView%]>[%#locExecutionViewURLText%]</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#EBEBEB" class="style4" style="height:10%"></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="style2">[%#locSignature%]</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
-
Copy the modified code (In this case, the above code) and paste into the HTML template window as Paste Plain Text and click Update.

The following code shows after pasting the code.
