Hi Team,
We are facing a BPMN configuration issue: three timers are associated with the service task (for sending the email). We are seeing the inconsistency—either all three expected notification emails are received, or only the first one, or sometimes only the first and second, not the third one.
Please find the .bpmn and refer to the highlighted red part, where the timer is configured. Also, I have added a configuration snapshot. Could you please explain why there is this inconsistency? and what correction will solve this issue?
Configuration snapshot:
<timerEventDefinition>
<timeDate>${ESCALATION_EMAIL1_IN_DAYS_OR_HOURS_OR_MINS}</timeDate>
</timerEventDefinition>
</boundaryEvent>
<extensionElements>
<flowable:field name="to">
<flowable:expression><!\[CDATA\[${CE_ADMIN_EMAIL}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="subject">
<flowable:expression><!\[CDATA\[Task Escalation Notification for ${TCN}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="html">
<flowable:expression><!\[CDATA\[<html><head><meta charset="UTF-8"/></head>
<body>
<table width="100%" border="0">
<tbody>
<td width="50%" align="left">
<img src="data:image/png;base64," width="100" height="100"/>
</td>
<td width="20%" align="right">
</td>
<td width="30%" align="right"> </td>
</tr>
</tbody>
</table>
<p>This is an official email to notify that ${XXX} has been assigned to ${XXX} and no actions has been performed as of today. Hence, it requires additional evaluation, as it exceeds the aging of ${DIFFERENCE_EMAIL1} ${TIME_IN_EMAIL1}.</p>
<p>Note: Please do not reply to this email. For more information, log on to XXX. </p>
</body></html>\]\]></flowable:expression>
</flowable:field>
</extensionElements>
===================
<timerEventDefinition>
<timeDate>${ESCALATION_EMAIL2_IN_DAYS_OR_HOURS_OR_MINS}</timeDate>
</timerEventDefinition>
<extensionElements>
<flowable:field name="to">
<flowable:expression><!\[CDATA\[${CE_ADMIN_EMAIL}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="subject">
<flowable:expression><!\[CDATA\[Task Escalation Notification for ${TCN}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="html">
<flowable:expression><!\[CDATA\[<html><head><meta charset="UTF-8"/></head>
<body>
<table width="100%" border="0">
<tbody>
<tr>
<td width="50%" align="left">
<img src="data:image/png;base64," width="100" height="100"/>
</td>
<td width="20%" align="right">
</td>
<td width="30%" align="right"> </td>
</tr>
</tbody>
</table>
<p>This is an official email to notify that ${TCN} has been assigned to ${ASSIGNEE_ORGUNIT} and no actions has been performed as of today. Hence, it requires additional evaluation, as it exceeds the aging of ${DIFFERENCE_EMAIL2} ${TIME_IN_EMAIL2}.</p>
<p>Note: Please do not reply to this email. For more information, log on to XXX. </p>
</body></html>\]\]></flowable:expression>
</flowable:field>
</extensionElements>
===============
<timerEventDefinition>
<timeDate>${ESCALATION_EMAIL3_IN_DAYS_OR_HOURS_OR_MINS}</timeDate>
</timerEventDefinition>
<extensionElements>
<flowable:field name="to">
<flowable:expression><!\[CDATA\[${CE_ADMIN_EMAIL}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="subject">
<flowable:expression><!\[CDATA\[Past Due Notification for ${TCN}\]\]></flowable:expression>
</flowable:field>
<flowable:field name="html">
<flowable:expression><!\[CDATA\[<html><head><meta charset="UTF-8"/></head>
<body>
<table width="100%" border="0">
<tbody>
<tr>
<td width="50%" align="left">
<img src="data:image/png;base64," width="100" height="100"/>
</td>
<td width="20%" align="right">
</td>
<td width="30%" align="right"> </td>
</tr>
</tbody>
</table>
<p>This is an official email to notify that ${TCN} has been assigned to ${ASSIGNEE_ORGUNIT} and no actions has been performed as of today. Hence, it requires additional evaluation, as it exceeds the aging of ${DIFFERENCE_EMAIL3} ${TIME_IN_EMAIL3} Past Due.</p>
<p>Note: Please do not reply to this email. For more information, log on to XXXX. </p>
</body></html>\]\]></flowable:expression>
</flowable:field>
</extensionElements>
