06-14-2016 07:40 AM
<serviceTask id="submitrequestmail" name="User Submit Request Mail" activiti:type="mail">
<extensionElements>
<activiti:field name="to">
<activiti:expression><![CDATA[${to}]]></activiti:expression>
</activiti:field>
<activiti:field name="from">
<activiti:expression><![CDATA[${from}]]></activiti:expression>
</activiti:field>
<activiti:field name="subject">
<activiti:expression><![CDATA[Your request with number ${requestNo} submitted successfully.]]></activiti:expression>
</activiti:field>
<activiti:field name="cc">
<activiti:expression><![CDATA[${cc}]]></activiti:expression>
</activiti:field>
<activiti:field name="html">
<activiti:expression><![CDATA[<html>
<body>
Dear ${user},<br/><br/>
Your request with number ${requestNo} submitted successfully.<br/><br/>
</body>
</html>]]></activiti:expression>
</activiti:field>
</extensionElements>
</serviceTask>
06-15-2016 04:58 AM
${cc}
must be evaluated. cc
variable does not exist that's why exception is thrown.null
in the case when cc
variable does not exist.12-15-2016 09:18 AM
Could you please provide example Martin Grofcik? I come across same situation tried few options but did not get any success. Ex.. ${execution.getVariable("cc")!=null}
12-21-2016 01:00 PM
Hi Mittal,
Try
<activiti:expression><![CDATA[${execution.getVariable("cc")}]]></activiti:expression>
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.