Author: alex.guizar(a)jboss.com
Date: 2010-08-20 08:58:14 -0400 (Fri, 20 Aug 2010)
New Revision: 6617
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/jbpm.mail.templates.xml
Log:
update task list base url in mail templates
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/jbpm.mail.templates.xml
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/jbpm.mail.templates.xml 2010-08-20
03:21:28 UTC (rev 6616)
+++
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/jbpm.mail.templates.xml 2010-08-20
12:58:14 UTC (rev 6617)
@@ -1,23 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<mail-templates>
- <variable name="BaseTaskListURL"
value="http://localhost:8080/jbpm/home?taskId=" />
+ <variable name="taskListBaseURL"
value="http://localhost:8080/jbpm-console/app/task.jsf?id=" />
<mail-template name='task-assign'>
- <actors>#{taskInstance.actorId}</actors>
- <subject>Task '#{taskInstance.name}'</subject>
- <text><![CDATA[Hi,
-Task '#{taskInstance.name}' has been assigned to you.
-Go for it: #{BaseTaskListURL}#{taskInstance.id}
+ <actors>${taskInstance.actorId}</actors>
+ <subject>Task '${taskInstance.name}'</subject>
+ <text><![CDATA[Hi ${taskInstance.actorId},
+Task '${taskInstance.name}' has been assigned to you.
+Go for it: ${taskListBaseURL}${taskInstance.id}
Thanks.
----powered by JBoss jBPM---]]></text>
+
+Sent by jBPM]]></text>
</mail-template>
<mail-template name='task-reminder'>
- <actors>#{taskInstance.actorId}</actors>
- <subject>Task '#{taskInstance.name}' !</subject>
- <text><![CDATA[Hey,
-Don't forget about #{BaseTaskListURL}#{taskInstance.id}
-Get going !
----powered by JBoss jBPM---]]></text>
+ <actors>${taskInstance.actorId}</actors>
+ <subject>Task '${taskInstance.name}' !</subject>
+ <text><![CDATA[Hey ${taskInstance.actorId},
+Do not forget about task '${taskInstance.name}'
+Get going: ${taskListBaseURL}${taskInstance.id}
+
+Sent by jBPM]]></text>
</mail-template>
</mail-templates>