The default trk_stp_deadline.msg notification file uses the listed workflow system variables. Some notification information is taken from the exposed log fields. If you disable the fields, you cannot use the field values in the notification. All field variables are case-sensitive.
Field variable | Exposed | Description |
---|---|---|
$F_SUBJPREFIX | String containing the prefix for the subject line of the notification message. | |
$F_WEBSERVER | String containing the name of the Application Engine server that a participant must attach to in order to respond to the notice. The name is also used to supply the background and notification type images. The $F_WEBSERVER value is retrieved from the Web Applications Server Base URL setting for the workflow system or isolated region. The isolated region value overrides the workflow system value. | |
$F_Subject | yes | String containing the subject that is entered by a user when the workflow is started. |
$F_Originator[1] | yes | Integer containing the user ID of the participant who started the workflow. |
$F_StartTime | yes | String containing the time that the workflow was created. Except for the initial work item of the workflow, it is different from the $F_CreateTime value. |
$F_STEPLABEL | String containing the step label from the workflow definition. | |
$F_BoundUserId[1] | yes | Integer indicating whether the work item is bound to a user. If the work item is bound, the integer is the user ID of the binding user. If the work item is not bound (in the work queue), the integer is 0. |
$F_EnqueueTime | yes | String containing the time work item entered the queue. |
$F_TimeStamp | yes | String containing the time that the overdue event occurred. |
In addition to these default variables, you can add optional variables in the notification file.
The shipped trk_stp_deadline.msg file contains the following HTML formatting (variables are in bold text):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<$F_SUBJPREFIX Overdue Step: >
<title>Step Overdue Notification</title>
</head>
<body bgcolor="#FFFFFF" link="#FF0000" vlink="#C0C0C0" alink="#FF0000">
<table border="0">
<tr>
<td align="left"><strong>Subject: </strong></td>
<td align="left"><$F_Subject></td>
</tr>
<tr>
<td align="left"><strong>Launched By: </strong></td>
<td align="left"><$F_Originator[1]></td>
</tr>
<tr>
<td align="left"><strong>Launched On: </strong></td>
<td align="left"><$F_StartTime></td>
</tr>
<tr>
<td align="left"><strong>Step Label: </strong></td>
<td align="left"><$F_STEPLABEL> </td>
</tr>
<tr>
<td align="left"><strong>Participant: </strong></td>
<td align="left"><$F_BoundUserId[1]></td>
</tr>
<tr>
<td align="left"><strong>Received On: </strong></td>
<td align="left"><$F_EnqueueTime></td>
</tr>
<tr>
<td align="left"><strong>Deadline: </strong></td>
<td align="left"><font color="red"><$F_TimeStamp> (OVERDUE!)</font></td>
</tr>
</table>
<hr>
<table>
<tr>
<td align="center">
<img border="0" src="http://<$F_WEBSERVER>/"/images/state/Expired16.gif" width="16" height="16">
<img border="0" src="http://<$F_WEBSERVER>/"/images/type/LogElement16.gif" width="16" height="16">
</td>
<td>
<a href="#" OnClick = "window.open('http://<$F_WEBSERVER>/"/eprocess/WcmTracker.jsp?
queueName=<$F_WORKQUEUE>&wobNum=<$F_WobNum>')">Tracking Assignment...
</a>
</td>
</tr>
</table>
<hr>
</body>
</html>