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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to customize notification email subject to include more information like Change request number , Process Name

nmudigere
1-Visitor

How to customize notification email subject to include more information like Change request number , Process Name

I am sending notification through activity's "send notification" option and not through “notify by email robot”

I have modified <WT_HOME>\codebase\templates\workNotification\GeneralSubject_<Locale>.html

files by adding below scripts

<SCRIPT>

beginSubject

</SCRIPT>
Subject of Notification:
<SCRIPT LANGUAGE=Windchill>

getPrimaryBusinessObjectName

</SCRIPT>

<SCRIPT LANGUAGE=Windchill>

endSubject

</SCRIPT>

But the changes are not reflecting and getting only the activity name in the subject of my email.

Do I need to set any property for this? Or any configuration in workflow activity?.

ACCEPTED SOLUTION

Accepted Solutions
jpoilvet
14-Alexandrite
(To:nmudigere)

Hello Naveen,

To modify the subject of the notification email, there is no out-of-the-box solution because it is hardcoded to always be the Activity Name defined in the workflow.

One workaround would be to modify the activity name with some java code in your workflow.

I would suggest to follow the resolution from article CS151717 (https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS151717).

Kind Regards,

Jerome Poilvet - Technical Support Engineer

-------------------------------

PTC Technical Support - 00 800 PTC4HELP (00 800 78244357) – http://support.ptc.com

View solution in original post

1 REPLY 1
jpoilvet
14-Alexandrite
(To:nmudigere)

Hello Naveen,

To modify the subject of the notification email, there is no out-of-the-box solution because it is hardcoded to always be the Activity Name defined in the workflow.

One workaround would be to modify the activity name with some java code in your workflow.

I would suggest to follow the resolution from article CS151717 (https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS151717).

Kind Regards,

Jerome Poilvet - Technical Support Engineer

-------------------------------

PTC Technical Support - 00 800 PTC4HELP (00 800 78244357) – http://support.ptc.com

Announcements


Top Tags