cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

Email Subject Line Customization

KG_11714884
9-Granite

Email Subject Line Customization

Version: Windchill 12.0

 

Use Case: Need to append string at the start of the subject line.


Description:

I have been trying to add string at the start of the subject line and it is working for General.html and NotificationRobot.html templates. 

ex: my email subject look like this:  Custom String + Analyze Problem Report 

Now trying the same for templates  ApproachingDeadlineNotification.html, CompleteNotification.html, OverdueNotification.html and it is not working. 

String always attached at the end of subject line no matter what. 

 

In screenshot attached see "MY STRING" is at the end of subject line.

 

KG_11714884_0-1760709409212.png

 

<html>

<body>

<table border="0" cellpadding="3" cellspacing="0">

<SCRIPT LANGUAGE=Windchill>
getPJLNotificationTitleRow
</SCRIPT>

<tr>
<td align="right" valign="top" nowrap>
<font face="Arial, Helvetica, sans-serif">
<b>
<SCRIPT LANGUAGE=Windchill>
<!-- getDeadLineLabel resourceKey=DEADLINE_COLON resourceClass=wt.workflow.engine.engineResource -->
</SCRIPT>
</b>
</font>
</td>

<td align="left" valign="top">
<font face="Arial, Helvetica, sans-serif">
<SCRIPT LANGUAGE=Windchill>
getDeadline
</SCRIPT>
</font>
</td>
</tr>

<SCRIPT LANGUAGE=Windchill>
getOverdueTaskRow
</SCRIPT>

<SCRIPT LANGUAGE=Windchill>
getParentProcessRow
</SCRIPT>

<tr>
<td colspan="2">
<hr size="1" color="#40637A">
</td>
</tr>

<tr>
<td align="right" valign="top" nowrap>
<font face="Arial, Helvetica, sans-serif">
<SCRIPT LANGUAGE=Windchill>
getProcessVariable varName="Container_Name"
</SCRIPT>
</font>
</td>
</tr>

<tr>
<td>
<SCRIPT LANGUAGE=Windchill>
<!-- beginSubject -->
</SCRIPT>

<SCRIPT LANGUAGE=Windchill>
<!-- addText text=" " -->
</SCRIPT>

<SCRIPT LANGUAGE=Windchill>
<!-- addText text="MY STRING" -->
</SCRIPT>

<SCRIPT LANGUAGE=Windchill>
<!-- addText text=" " -->
</SCRIPT>

<SCRIPT LANGUAGE=Windchill>
<!-- endSubject -->
</SCRIPT>
</td>
</tr>

</table>

</body>
</html>

 

1 REPLY 1

Hi @KG_11714884 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant.

 

Best regards,


Catalina
PTC Community Moderator
PTC
Announcements
Top Tags