Created
July 15, 2011 18:33
-
-
Save tmoreira2020/1085242 to your computer and use it in GitHub Desktop.
Email notification using Freemaker and Kaleo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<state> | |
<name>approved</name> | |
<actions> | |
<notification> | |
<name>Application Approved Notification</name> | |
<description>Application Approved Notification</description> | |
<execution-type>onAssignment</execution-type> | |
<template> | |
<![CDATA[ | |
<#assign context = serviceContext.getAttribute("context")> | |
<p>Dear Developer,</p> | |
<p> | |
The application submission ${context.productName} has been approved for publishing. | |
If you have not already done so, please set your pricing and publish dates. | |
The application record can be accessed here | |
<a href="${context.externalEditURL}">${context.externalEditURL}</a> | |
. Select Edit Pricing Info to update. | |
</p> | |
<p>Regards,</p> | |
<p>Liferay Inc.</p> | |
]]> | |
</template> | |
<template-language>freemarker</template-language> | |
<notification-type>email</notification-type> | |
</notification> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment