In my bpmn.xml file, I'm trying to send out email once a form is submitted, it works fine with one issue: sometimes there are empty fields in the form, and I don't want to send them out, is there any way to add conditions to the mail content?
<activiti:field name="html">
<activiti:expression><![CDATA[
<html>
<body>
<table><tr><th>Course</th><th>Credits</th></tr>
<tr><td>${Course1}</td><td>${Credit1}</td></tr>
Is there a way to say
if${Course2}!='' then
<tr><td>${Course2}</td><td>${Credit2}</td></tr>