<scriptTask id="scripttask1" name="Send Email" scriptFormat="javascript">
<extensionElements>
<activiti:executionListener event="start" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener">
<activiti:field name="script">
<activiti:string>
var mail = actions.create("mail");
mail.parameters.to = "a@gmail.com";
mail.parameters.subject = "send a workflow's email. second test! " + bpm_workflowDescription;
mail.parameters.from = "b@gmail.com";
mail.parameters.text = "2nd Test message! ";
mail.execute(bpm_package);
</activiti:string>
</activiti:field>
</activiti:executionListener>
</extensionElements>
<script><![CDATA[]]></script>
</scriptTask>
Archive content from product discussions in Italian.
This group is now closed and content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.