Invoke Form Activity Email Template
- Last UpdatedJul 01, 2024
- 3 minute read
AVEVA Work Tasks Engine accesses the approval activity's email template from the following physical path:
[AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Templates\FormEmailTemplate\InvokeFormEmail.html
This template can be modified as per the UI requirement. The mails received by the actor is based on the above mentioned mail template.
Below is the default email template text for the InvokeFormEmail.html file of the mail received by the actor.
InvokeFormEmail.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
.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" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" >
<tr>
<td valign="top"><table width="100%" border="0" cellpadding="5" bgcolor="#FFFFFF">
<tr>
<td><p><span class="Username">@@Email_Salutation@@ <%#ActorName%></span>, </p>
<p class="style2"><%#Body%></p></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="style2"> </td>
</tr>
<tr>
<td bgcolor="#EBEBEB"><span class="style4">@@Email_TaskInformation@@</span></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="50%">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#999999">
<tr>
<td>
<table width="100%" border="1" cellpadding="6" cellspacing="0" bordercolor="#CCCCCC"
bgcolor="#FFFFFF" class="style2">
<tr>
<td width="21%" bgcolor="#EFEFEF">
<b>@@Email_TaskName@@</b></td>
<td width="79%" bgcolor="#EFEFEF">
<%#TaskName%></td>
</tr>
<tr>
<td>
<b>@@Email_Description@@</b></td>
<td>
<%#Description%></td>
</tr>
<tr>
<td bgcolor="#EFEFEF">
<b>@@Email_Submitedby@@</b></td>
<td bgcolor="#EFEFEF">
<%#Submitedby%></td>
</tr>
<tr>
<td>
<b>@@Email_SubmitedOn@@</b></td>
<td>
<%#SubmitedOn%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><span class="style2"><a href="<%#IntranetUrl%>/Form/WorkItemViewEmail.aspx?<%#QueryString%>">@@Click here@@</a> @@to view the form@@</span></td>
</tr>
<tr>
<td class="style2"><span class="style2">@@Or@@ </span></td>
</tr>
<tr>
<td class="style2"><span class="style2">@@Copy the below mentioned link in the browser area to view the form@@</span></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><span class="style2"><%#IntranetUrl%>/Form/WorkItemViewEmail.aspx?<%#QueryString%></span></td>
</tr>
<tr bgcolor="#EBEBEB">
<td align="right" class="style2">
<span><a href="<%#IntranetUrl%>/Emaildocview.aspx?<%#DocViewQueryString%>">@@Email_Document_ViewURLText@@</a></span>
|
<span><a href="<%#IntranetUrl%>/EmaiExecutionView.aspx?<%#ExecutionViewQueryString%>">@@Email_Execution_ViewURLText@@</a></span>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="style2">@@Email_Signature@@</td>
</tr>
</td>
</tr>
</table>
</body>
</html>
The following figure shows the Invoke Form activity Email template:

Note:
The QueryString placeholder is mandatory and should not be modified.
<a href="<%#IntranetUrl%>/Form/WorkItemViewEmail.aspx?<%#QueryString%>">@@Click here@@</a>
There are four types of placeholders. They are :
<%#LocalUrl%>, <%#IntranetUrl%>, <%#InternetUrl%> and <%#ApplicationPath%>. You should use at least any one of these placeholders based on the requirement. By default the <%#IntranetUrl%> is used as shown below.
<a href="<%#IntranetUrl%>/Form/WorkItemViewEmail.aspx?<%#QueryString%>">@@Click here@@</a>
Document View:
When you click the Document View link, the document view with execution details is displayed as shown in the following figure.

Document View
Current Execution Status:
An actor will be able to access the Process Execution View and their work item from an Email which is sent to the actor.
Pre-requisites:
-
To access the Process Execution View, you have to be connected to the application server via LAN or WAN or Internet. In case, not connected to the application server, then the Process Execution View will not be accessible. When you click the Current Execution Status link, the Process Execution View of the Analysts View will be displayed as shown below.
