Email Notification Templates - Are methods supposed to be in comments?
I am attempting to create my own custom workflow email notification template and I'm confused about the right way to use methods for dynamic text inside the template. In the help documentation it show the methods inside (what I think are) comments. For example:
-----------------------------------------------------------------------------
<SCRIPT LANGUAGE=Windchill>
<!-- getPrimaryBusinessObjectName -->
</SCRIPT>
-----------------------------------------------------------------------------
However looking in the existing email templates I'm seeing a mix. Some items are inside comments and others are not.
-----------------------------------------------------------------------------
Activity Description: <SCRIPT LANGUAGE=Windchill> <!-- activityDescriptionPlain --> </SCRIPT>
Business Object: <SCRIPT LANGUAGE=Windchill> <!-- primaryBusinessObjectLinkPlain --> </SCRIPT>
Go to Process Manager: <SCRIPT LANGUAGE=Windchill> getProcessManagerURLPlain </SCRIPT>
-----------------------------------------------------------------------------
<SCRIPT language=Windchill>getLocalizedMessage resourceKey=SUB_OBJ resourceClass=wt.workflow.work.workResource</SCRIPT>
<SCRIPT LANGUAGE=Windchill> <!-- primaryBusinessObjectLink --> </SCRIPT>
-----------------------------------------------------------------------------
What is the right way? How do I know if something is supposed to be inside a comment block or not? Does it even matter?
Thanks!

