<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Not terminating process if timer
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/atran">Antoine T</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/805231#805231">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am using Eclipse and jBPM 5.4.0 workflow engine. Whenever I use a timer as simple as below (FigB), and I launch it in Eclipse, the <em>Terminate End Event </em>doesn't end the Java process (FigA). However, if I delete the timer, the process ends. It seems this is a bug? Has anyone encountered the same issue? Thank you.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Antoine</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>FigA: The process doesn't end</p><p><a href="https://community.jboss.org/servlet/JiveServlet/showImage/2-805231-20524/SimpleTimer.png"><span> https://community.jboss.org/servlet/JiveServlet/downloadImage/2-805231-20524/450-91/SimpleTimer.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>FigB: Simple Timer:</p><p><a href="https://community.jboss.org/servlet/JiveServlet/showImage/2-805231-20523/SimpleTimer.png"><span> https://community.jboss.org/servlet/JiveServlet/downloadImage/2-805231-20523/255-69/SimpleTimer.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><table border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"><tbody><tr><th align="center" style="border:1px solid black;border: 1px solid #000000;background-color: #6690bc;" valign="middle"><span style="color: #ffffff;"><strong>Header 1</strong></span></th></tr><tr><td style="border:1px solid black;border: 1px solid #000000;"><p><?xml version="1.0" encoding="UTF-8"?> </p><p><definitions id="Definition"</p><p><span>             targetNamespace="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"</span></p><p><span>             typeLanguage="</span><a class="jive-link-external-small" href="http://www.java.com/javaTypes" rel="nofollow" target="_blank">http://www.java.com/javaTypes</a><span>"</span></p><p><span>             expressionLanguage="</span><a class="jive-link-external-small" href="http://www.mvel.org/2.0" rel="nofollow" target="_blank">http://www.mvel.org/2.0</a><span>"</span></p><p><span>             xmlns="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span>"</span></p><p><span>             xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></p><p><span>             xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/MODEL</a><span> BPMN20.xsd"</span></p><p><span>             xmlns:g="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools/flow/gpd" target="_blank">http://www.jboss.org/drools/flow/gpd</a><span>"</span></p><p><span>             xmlns:bpmndi="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow" target="_blank">http://www.omg.org/spec/BPMN/20100524/DI</a><span>"</span></p><p><span>             xmlns:dc="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow" target="_blank">http://www.omg.org/spec/DD/20100524/DC</a><span>"</span></p><p><span>             xmlns:di="</span><a class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow" target="_blank">http://www.omg.org/spec/DD/20100524/DI</a><span>"</span></p><p><span>             xmlns:tns="</span><a class="jive-link-external-small" href="http://www.jboss.org/drools" target="_blank">http://www.jboss.org/drools</a><span>"></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <process processType="Private" isExecutable="true" id="com.sample.bpmn" name="Sample Process" tns:packageName="defaultPackage" ></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- nodes --></p><p>    <startEvent id="_1" name="StartProcess" /></p><p>    <intermediateCatchEvent id="_2" name="Timer" ></p><p>      <timerEventDefinition></p><p>        <timeDuration xsi:type="tFormalExpression">1000</timeDuration></p><p>      </timerEventDefinition></p><p>    </intermediateCatchEvent></p><p>    <endEvent id="_3" name="End" ></p><p>        <terminateEventDefinition /></p><p>    </endEvent></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <!-- connections --></p><p>    <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" /></p><p>    <sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  </process></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>  <bpmndi:BPMNDiagram></p><p>    <bpmndi:BPMNPlane bpmnElement="com.sample.bpmn" ></p><p>      <bpmndi:BPMNShape bpmnElement="_1" ></p><p>        <dc:Bounds x="42" y="42" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_2" ></p><p>        <dc:Bounds x="135" y="42" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNShape bpmnElement="_3" ></p><p>        <dc:Bounds x="224" y="43" width="48" height="48" /></p><p>      </bpmndi:BPMNShape></p><p>      <bpmndi:BPMNEdge bpmnElement="_1-_2" ></p><p>        <di:waypoint x="66" y="66" /></p><p>        <di:waypoint x="159" y="66" /></p><p>      </bpmndi:BPMNEdge></p><p>      <bpmndi:BPMNEdge bpmnElement="_2-_3" ></p><p>        <di:waypoint x="159" y="66" /></p><p>        <di:waypoint x="248" y="67" /></p><p>      </bpmndi:BPMNEdge></p><p>    </bpmndi:BPMNPlane></p><p>  </bpmndi:BPMNDiagram></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></definitions></p></td></tr></tbody></table></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/805231#805231">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>