Last active
August 29, 2015 14:04
-
-
Save menski/b880b33bdb34aae5e50b to your computer and use it in GitHub Desktop.
Example service task with a template as input parameter mapping
This file contains hidden or 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
<bpmn2:serviceTask id="emailTask" name="Send email" camunda:class="org.camunda.bpm.examples.EmailService"> | |
<bpmn2:extensionElements> | |
<camunda:inputOutput> | |
<camunda:inputParameter name="emailBody"> | |
<camunda:script scriptFormat="freemarker"> | |
<![CDATA[ | |
Dear ${customer}, | |
Welcome to camunda BPM ${version}. Please visit one of these links | |
for more information about camunda BPM: | |
<#list links as link> | |
<a href="${link.href}">${link.text}</a> | |
</#list> | |
Cheers, | |
${supportUser} | |
]]> | |
</camunda:script> | |
</camunda:inputParameter> | |
</camunda:inputOutput> | |
</bpmn2:extensionElements> | |
</bpmn2:serviceTask> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment