06-21-2011 06:07 AM
<input type="file" name="datafile" size="40">
06-24-2011 03:03 AM
06-27-2011 08:05 AM
06-27-2011 01:33 PM
06-28-2011 02:10 AM
06-28-2011 02:30 AM
06-28-2011 02:45 AM
<serviceTask completionQuantity="1" activiti:class="org.activiti.engine.impl.bpmn.behavior.MailActivityBehavior" id="sid-1430FC68-FA04-41E0-9EDB-A9A0329F42A3" implementation="webService" isForCompensation="false" name="Email to applicant on status "OnHold"" startQuantity="1">…….
EmailAttachment attachment = new EmailAttachment();
attachment.setPath("mypictures/john.jpg");
attachment.setDisposition(EmailAttachment.ATTACHMENT);
attachment.setDescription("Picture of John");
attachment.setName("John");
Should i write this code?<activiti:field name="to" expression="${Email}" />
. Likewise what field is used for attachment?06-28-2011 03:04 AM
06-28-2011 03:20 AM
06-28-2011 03:33 AM
<serviceTask id="javaService"
name="Java service invocation"
activiti:class="org.activiti.examples.bpmn.servicetask.ToUpperCaseFieldInjected">
<extensionElements>
<activiti:field name="text" stringValue="Hello World" />
</extensionElements>
</serviceTask>
<serviceTask id="sendMail" activiti:type="mail">
<extensionElements>
<activiti:field name="from" stringValue="order-shipping@thecompany.com" />
<activiti:field name="to" expression="${recipient}" />
<activiti:field name="subject" expression="Your order ${orderId} has been shipped" />
<activiti:field name="html">
<activiti:expression>
<![CDATA[
<html>
<body>
Hello ${male ? 'Mr.' : 'Mrs.' } ${recipientName},<br/><br/>
As of ${now}, your order has been <b>processed and shipped</b>.<br/><br/>
Kind regards,<br/>
TheCompany.
</body>
</html>
]]>
</activiti:expression>
</activiti:field>
</extensionElements>
</serviceTask>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.