Send mail step - bluesoft-rnd/aperte-workflow-core GitHub Wiki

This step implementation is part of BPM Notifications plugin. By invoking it, it is possible to send mail from process. With using BPM notification configuration.

Actually it add new notification to queue, and then Bpm notification sends it, by using its own configuration.

Parameters

Parameter name Type Required Default value Description
Recipient String TRUE User name to which the mail is to be sent. It must be valid user login from liferay
template String TRUE The name of the BPM Notification e-mail template to be used.

Example

<java auto-wire="true" cache="false" class="pl.net.bluesoft.rnd.pt.ext.jbpm.JbpmStepAction" g="130,25,100,80" method="invoke" name="This_is_Sample_Aperte_Workflow_Demo" var="RESULT">
	<field name="stepName">
		<string value="SendMailStep"/>
	</field>
	<field name="params">
		<map>
			<entry>
				<key>
					<string value="template"/>
				</key>
				<value>
					<string value="Testowy"/>
				</value>
			</entry>
			<entry>
				<key>
					<string value="recipient"/>
				</key>
				<value>
					<string value="kkolodziej"/>
				</value>
			</entry>
		</map>
	</field>
	<transition g="" name="ok" to="This_is_Sample_Aperte_Workflow_Demo_2">
	</transition>
</java>
⚠️ **GitHub.com Fallback** ⚠️