# Boundary Timer Event isn't getting triggered

**URL:** <https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297>\
**Category:** Flowable Engine\
**Created:** [January 11, 2021, 4:39am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297 "2021-01-11T04:39:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 11, 2021, 4:39am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/1 "2021-01-11T04:39:49Z")

</div>

Hello,

I’ve added Boundary Timer Event but it’s not getting triggered, could you please take a look?  
Here is the BPMN Process xml,

> \<?xml version="1.0" encoding="UTF-8"?\>
> 
> \<bpmn:definitions xmlns:bpmn=“[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”  
> xmlns:di=“[http://www.omg.org/spec/BPMN/20100524/DI](http://www.omg.org/spec/BPMN/20100524/DI)”  
> xmlns:dc=“[http://www.omg.org/spec/DD/20100524/DC](http://www.omg.org/spec/DD/20100524/DC)”  
> xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”  
> xmlns:di\_1=“[http://www.omg.org/spec/DD/20100524/DI](http://www.omg.org/spec/DD/20100524/DI)”  
> xmlns:flowable=“[Open Source](http://flowable.org/bpmn)”  
> id=“idCASImportProcessDefinition”  
> targetNamespace=“[https://flowable.com/open-source/test](https://flowable.com/open-source/test)”  
> exporterVersion=“7.3.0”\>  
> \<bpmn:process id=“CAS\_IMPORT” name=“CAS Import Scenario” isExecutable=“true”\>  
> \<bpmn:startEvent id=“idStartEvent” name=“Start Event” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow1” sourceRef=“idStartEvent” targetRef=“idParseDescriptorsAndValidationsAndOrderList” /\>  
> \<bpmn:serviceTask id=“idParseDescriptorsAndValidationsAndOrderList” name=“Parse descriptors and Validations” flowable:async=“true” flowable:delegateExpression=“${parseDescriptorsAndValidationsAndOrderList}” /\>  
> \<bpmn:sequenceFlow id=“Flow\_1unfx48” sourceRef=“idParseDescriptorsAndValidationsAndOrderList” targetRef=“idUploadAndDeploy”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:sequenceFlow id=“Flow\_0gqeaos” sourceRef=“idParseDescriptorsAndValidationsAndOrderList” targetRef=“idCASDeleteReources”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:serviceTask id=“idUploadAndDeploy” name=“Upload and Deploy” flowable:delegateExpression=“${uploadAndDeploy}” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow9” sourceRef=“idUploadAndDeploy” targetRef=“idUploadAndDeploy”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow3” sourceRef=“idUploadAndDeploy” targetRef=“idGetGACDStatus”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow10” sourceRef=“idUploadAndDeploy” targetRef=“idCASDeleteReources”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>${(numOfDeployedModules \>= numOfModules)}\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:serviceTask id=“idGetGACDStatus” name=“Get Status” flowable:delegateExpression=“${getGACDStatus}” /\>  
> \<bpmn:boundaryEvent id=“idBE1” name=“BoundaryEvent1” attachedToRef=“idGetGACDStatus”\>  
> bpmn:timerEventDefinition  
> bpmn:timeDurationPT1S\</bpmn:timeDuration\>  
> \</bpmn:timerEventDefinition\>  
> \</bpmn:boundaryEvent\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow11” sourceRef=“idBE1” targetRef=“idSetStatusAborted”\>\</bpmn:sequenceFlow\>  
> \<bpmn:serviceTask id=“idSetStatusAborted” name=“Set Status Aborted” flowable:delegateExpression=“${setStatusAborted}” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow12” sourceRef=“idSetStatusAborted” targetRef=“idGetGACDLogs” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow4” sourceRef=“idGetGACDStatus” targetRef=“idGetGACDLogs” /\>  
> \<bpmn:serviceTask id=“idGetGACDLogs” name=“Get Logs” flowable:delegateExpression=“${getGACDLogs}” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow5” sourceRef=“idGetGACDLogs” targetRef=“idGACDDelete” /\>  
> \<bpmn:serviceTask id=“idGACDDelete” name=“Delete Content” flowable:delegateExpression=“${gACDDelete}” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow7” sourceRef=“idGACDDelete” targetRef=“idUploadAndDeploy”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>${(numOfDeployedModules \< numOfModules)}\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow6” sourceRef=“idGACDDelete” targetRef=“idCASDeleteReources”\>  
> \<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>${(numOfDeployedModules \>= numOfModules)}\</bpmn:conditionExpression\>  
> \</bpmn:sequenceFlow\>  
> \<bpmn:serviceTask id=“idCASDeleteReources” name=“CAS Delete Reources from Disk” flowable:delegateExpression=“${cASDeleteResources}” /\>  
> \<bpmn:sequenceFlow id=“idsequenceFlow8” sourceRef=“idCASDeleteReources” targetRef=“idEndEvent” /\>  
> \<bpmn:endEvent id=“idEndEvent” name=“End Event” /\>  
> \</bpmn:process\>  
> \<di:BPMNDiagram id=“BPMNDiagram\_1”\>  
> \<di:BPMNPlane id=“BPMNPlane\_1” bpmnElement=“CAS\_IMPORT”\>  
> \<di:BPMNEdge id=“Flow\_1l498j2\_di” bpmnElement=“idsequenceFlow8”\>  
> \<di\_1:waypoint x=“1189.9499999999564” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“1230.0” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_0b7xahl\_di” bpmnElement=“idsequenceFlow6”\>  
> \<di\_1:waypoint x=“1029.95” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“1090.0” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“idsequenceFlow7\_di” bpmnElement=“idsequenceFlow7”\>  
> \<di\_1:waypoint x=“980” y=“180” /\>  
> \<di\_1:waypoint x=“980” y=“80” /\>  
> \<di\_1:waypoint x=“470” y=“80” /\>  
> \<di\_1:waypoint x=“470” y=“180” /\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_1l498j1\_di” bpmnElement=“idsequenceFlow5”\>  
> \<di\_1:waypoint x=“859.9499999999999” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“930.0” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_0548kcs\_di” bpmnElement=“idsequenceFlow4”\>  
> \<di\_1:waypoint x=“699.9499999999999” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“760.0” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_0p7myzy\_di” bpmnElement=“idsequenceFlow3”\>  
> \<di\_1:waypoint x=“519.95” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“600.0” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_0p7abzy\_di” bpmnElement=“idsequenceFlow9”\>  
> \<di\_1:waypoint x=“445.0” y=“180.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“445.0” y=“83.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“421.0” y=“83.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“421.0” y=“180.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_0gqeaos\_di” bpmnElement=“Flow\_0gqeaos”\>  
> \<di\_1:waypoint x=“320.0” y=“259.95000000000005”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“320.0” y=“350.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“1140.0” y=“350.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“1140.0” y=“259.95000000000005”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_1unfx48\_di” bpmnElement=“Flow\_1unfx48”\>  
> \<di\_1:waypoint x=“370” y=“220” /\>  
> \<di\_1:waypoint x=“420” y=“220” /\>  
> \</di:BPMNEdge\>  
> \<di:BPMNEdge id=“Flow\_1skh859\_di” bpmnElement=“idsequenceFlow1”\>  
> \<di\_1:waypoint x=“369.9499999999581” y=“220.0”\>\</di\_1:waypoint\>  
> \<di\_1:waypoint x=“419.9999999999364” y=“220.0”\>\</di\_1:waypoint\>  
> \</di:BPMNEdge\>  
> \<di:BPMNShape id=“Event\_08epzk5\_di” bpmnElement=“idStartEvent”\>  
> \<dc:Bounds x=“162” y=“202” width=“30” height=“30” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_0618a0d\_di” bpmnElement=“idParseDescriptorsAndValidationsAndOrderList”\>  
> \<dc:Bounds x=“270” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_0r9ung1\_di” bpmnElement=“idUploadAndDeploy”\>  
> \<dc:Bounds x=“420” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_0bimd7i\_di” bpmnElement=“idGetGACDStatus”\>  
> \<dc:Bounds x=“600” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_0l5431c\_di” bpmnElement=“idGetGACDLogs”\>  
> \<dc:Bounds x=“760” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_1h6t3sj\_di” bpmnElement=“idGACDDelete”\>  
> \<dc:Bounds x=“930” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Activity\_1h6t3sy\_di” bpmnElement=“idCASDeleteReources”\>  
> \<dc:Bounds x=“1090” y=“180” width=“100” height=“80” /\>  
> \</di:BPMNShape\>  
> \<di:BPMNShape id=“Event\_0na780t\_di” bpmnElement=“idEndEvent”\>  
> \<dc:Bounds x=“1230” y=“206” width=“28” height=“28” /\>  
> di:BPMNLabel  
> \<dc:Bounds x=“1245” y=“206” width=“28” height=“28” /\>  
> \</di:BPMNLabel\>  
> \</di:BPMNShape\>  
> \</di:BPMNPlane\>  
> \</di:BPMNDiagram\>  
> \</bpmn:definitions\>

Regards,  
Ashmita Sinha

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [January 12, 2021, 6:15am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/2 "2021-01-12T06:15:03Z")

</div>

Import failed for the given xml. Error message: Error reading XML.  
Probably some tags are missing in the XML ?

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 12, 2021, 6:17am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/3 "2021-01-12T06:17:01Z")

</div>

Yeah, while pasting here it’s getting deleted.Take this,

\<?xml version="1.0" encoding="UTF-8"?\>

\<bpmn:definitions xmlns:bpmn=“[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”  
xmlns:di=“[http://www.omg.org/spec/BPMN/20100524/DI](http://www.omg.org/spec/BPMN/20100524/DI)”  
xmlns:dc=“[http://www.omg.org/spec/DD/20100524/DC](http://www.omg.org/spec/DD/20100524/DC)”  
xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)”  
xmlns:di\_1=“[http://www.omg.org/spec/DD/20100524/DI](http://www.omg.org/spec/DD/20100524/DI)”  
xmlns:flowable=“[http://flowable.org/bpmn](http://flowable.org/bpmn)”  
id=“idCASImportProcessDefinition”  
targetNamespace=“[https://flowable.com/open-source/test](https://flowable.com/open-source/test)”  
exporterVersion=“7.3.0”\>  
\<bpmn:process id=“CAS\_IMPORT” name=“CAS Import Scenario” isExecutable=“true”\>  
\<bpmn:startEvent id=“idStartEvent” name=“Start Event” /\>  
\<bpmn:sequenceFlow id=“idsequenceFlow1” sourceRef=“idStartEvent” targetRef=“idParseDescriptorsAndValidationsAndOrderList” /\>  
\<bpmn:serviceTask id=“idParseDescriptorsAndValidationsAndOrderList” name=“Parse descriptors and Validations” flowable:async=“true” flowable:delegateExpression="{parseDescriptorsAndValidationsAndOrderList}" /\> \<bpmn:sequenceFlow id="Flow\_1unfx48" sourceRef="idParseDescriptorsAndValidationsAndOrderList" targetRef="idUploadAndDeploy"\> \<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"\>\<![CDATA[{(isValidDescriptor == “YES”)}]]\>\</bpmn:conditionExpression\>  
\</bpmn:sequenceFlow\>  
\<bpmn:sequenceFlow id=“Flow\_0gqeaos” sourceRef=“idParseDescriptorsAndValidationsAndOrderList” targetRef=“idCASDeleteReources”\>  
\<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
\</bpmn:sequenceFlow\>  
\<bpmn:serviceTask id=“idUploadAndDeploy” name=“Upload and Deploy” flowable:delegateExpression="{uploadAndDeploy}" /\> \<bpmn:sequenceFlow id="idsequenceFlow9" sourceRef="idUploadAndDeploy" targetRef="idUploadAndDeploy"\> \<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"\>\<![CDATA[{isUploadAndDeployFailed}]]\>\</bpmn:conditionExpression\>  
\</bpmn:sequenceFlow\>  
\<bpmn:sequenceFlow id=“idsequenceFlow3” sourceRef=“idUploadAndDeploy” targetRef=“idGetGACDStatus”\>  
\<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>\</bpmn:conditionExpression\>  
\</bpmn:sequenceFlow\>  
\<bpmn:sequenceFlow id=“idsequenceFlow10” sourceRef=“idUploadAndDeploy” targetRef=“idCASDeleteReources”\>  
\<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>{(numOfDeployedModules &gt;= numOfModules)}\</bpmn:conditionExpression\> \</bpmn:sequenceFlow\> \<bpmn:serviceTask id="idGetGACDStatus" name="Get Status" flowable:delegateExpression="{getGACDStatus}" /\>  
\<bpmn:boundaryEvent id=“idBE1” name=“BoundaryEvent1” attachedToRef=“idGetGACDStatus”\>  
bpmn:timerEventDefinition  
bpmn:timeDurationPT1S\</bpmn:timeDuration\>  
\</bpmn:timerEventDefinition\>  
\</bpmn:boundaryEvent\>  
\<bpmn:sequenceFlow id=“idsequenceFlow11” sourceRef=“idBE1” targetRef=“idSetStatusAborted”\>\</bpmn:sequenceFlow\>  
\<bpmn:serviceTask id=“idSetStatusAborted” name=“Set Status Aborted” flowable:delegateExpression="{setStatusAborted}" /\> \<bpmn:sequenceFlow id="idsequenceFlow12" sourceRef="idSetStatusAborted" targetRef="idGetGACDLogs" /\> \<bpmn:sequenceFlow id="idsequenceFlow4" sourceRef="idGetGACDStatus" targetRef="idGetGACDLogs" /\> \<bpmn:serviceTask id="idGetGACDLogs" name="Get Logs" flowable:delegateExpression="{getGACDLogs}" /\>  
\<bpmn:sequenceFlow id=“idsequenceFlow5” sourceRef=“idGetGACDLogs” targetRef=“idGACDDelete” /\>  
\<bpmn:serviceTask id=“idGACDDelete” name=“Delete Content” flowable:delegateExpression="{gACDDelete}" /\> \<bpmn:sequenceFlow id="idsequenceFlow7" sourceRef="idGACDDelete" targetRef="idUploadAndDeploy"\> \<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"\>{(numOfDeployedModules \< numOfModules)}\</bpmn:conditionExpression\>  
\</bpmn:sequenceFlow\>  
\<bpmn:sequenceFlow id=“idsequenceFlow6” sourceRef=“idGACDDelete” targetRef=“idCASDeleteReources”\>  
\<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”\>{(numOfDeployedModules &gt;= numOfModules)}\</bpmn:conditionExpression\> \</bpmn:sequenceFlow\> \<bpmn:serviceTask id="idCASDeleteReources" name="CAS Delete Reources from Disk" flowable:delegateExpression="{cASDeleteResources}" /\>  
\<bpmn:sequenceFlow id=“idsequenceFlow8” sourceRef=“idCASDeleteReources” targetRef=“idEndEvent” /\>  
\<bpmn:endEvent id=“idEndEvent” name=“End Event” /\>  
\</bpmn:process\>  
\<di:BPMNDiagram id=“BPMNDiagram\_1”\>  
\<di:BPMNPlane id=“BPMNPlane\_1” bpmnElement=“CAS\_IMPORT”\>  
\<di:BPMNEdge id=“Flow\_1l498j2\_di” bpmnElement=“idsequenceFlow8”\>  
\<di\_1:waypoint x=“1189.9499999999564” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“1230.0” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_0b7xahl\_di” bpmnElement=“idsequenceFlow6”\>  
\<di\_1:waypoint x=“1029.95” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“1090.0” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“idsequenceFlow7\_di” bpmnElement=“idsequenceFlow7”\>  
\<di\_1:waypoint x=“980” y=“180” /\>  
\<di\_1:waypoint x=“980” y=“80” /\>  
\<di\_1:waypoint x=“470” y=“80” /\>  
\<di\_1:waypoint x=“470” y=“180” /\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_1l498j1\_di” bpmnElement=“idsequenceFlow5”\>  
\<di\_1:waypoint x=“859.9499999999999” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“930.0” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_0548kcs\_di” bpmnElement=“idsequenceFlow4”\>  
\<di\_1:waypoint x=“699.9499999999999” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“760.0” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_0p7myzy\_di” bpmnElement=“idsequenceFlow3”\>  
\<di\_1:waypoint x=“519.95” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“600.0” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_0p7abzy\_di” bpmnElement=“idsequenceFlow9”\>  
\<di\_1:waypoint x=“445.0” y=“180.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“445.0” y=“83.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“421.0” y=“83.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“421.0” y=“180.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_0gqeaos\_di” bpmnElement=“Flow\_0gqeaos”\>  
\<di\_1:waypoint x=“320.0” y=“259.95000000000005”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“320.0” y=“350.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“1140.0” y=“350.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“1140.0” y=“259.95000000000005”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_1unfx48\_di” bpmnElement=“Flow\_1unfx48”\>  
\<di\_1:waypoint x=“370” y=“220” /\>  
\<di\_1:waypoint x=“420” y=“220” /\>  
\</di:BPMNEdge\>  
\<di:BPMNEdge id=“Flow\_1skh859\_di” bpmnElement=“idsequenceFlow1”\>  
\<di\_1:waypoint x=“369.9499999999581” y=“220.0”\>\</di\_1:waypoint\>  
\<di\_1:waypoint x=“419.9999999999364” y=“220.0”\>\</di\_1:waypoint\>  
\</di:BPMNEdge\>  
\<di:BPMNShape id=“Event\_08epzk5\_di” bpmnElement=“idStartEvent”\>  
\<dc:Bounds x=“162” y=“202” width=“30” height=“30” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_0618a0d\_di” bpmnElement=“idParseDescriptorsAndValidationsAndOrderList”\>  
\<dc:Bounds x=“270” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_0r9ung1\_di” bpmnElement=“idUploadAndDeploy”\>  
\<dc:Bounds x=“420” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_0bimd7i\_di” bpmnElement=“idGetGACDStatus”\>  
\<dc:Bounds x=“600” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_0l5431c\_di” bpmnElement=“idGetGACDLogs”\>  
\<dc:Bounds x=“760” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_1h6t3sj\_di” bpmnElement=“idGACDDelete”\>  
\<dc:Bounds x=“930” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Activity\_1h6t3sy\_di” bpmnElement=“idCASDeleteReources”\>  
\<dc:Bounds x=“1090” y=“180” width=“100” height=“80” /\>  
\</di:BPMNShape\>  
\<di:BPMNShape id=“Event\_0na780t\_di” bpmnElement=“idEndEvent”\>  
\<dc:Bounds x=“1230” y=“206” width=“28” height=“28” /\>  
di:BPMNLabel  
\<dc:Bounds x=“1245” y=“206” width=“28” height=“28” /\>  
\</di:BPMNLabel\>  
\</di:BPMNShape\>  
\</di:BPMNPlane\>  
\</di:BPMNDiagram\>  
\</bpmn:definitions\>

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [January 12, 2021, 6:19am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/4 "2021-01-12T06:19:50Z")

</div>

I think it’s still the same XML. I still see the `di:BPMNLabel` is not in any tag near the end of XML.

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [January 12, 2021, 6:22am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/5 "2021-01-12T06:22:12Z")

</div>

I’ve used boundary timer previously, this is how configuration looks in XML that I have:

```
<boundaryEvent id="BT1" attachedToRef="sid-0F5F4D4D-FCCE-4C6E-BDBD-70E79AACE49D" cancelActivity="true">
  <timerEventDefinition>
    <timeDuration>PT6H</timeDuration>
  </timerEventDefinition>
</boundaryEvent>
```

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 12, 2021, 6:27am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/6 "2021-01-12T06:27:59Z")

</div>

I’ve also tried it in a similar way, are there any pre-requisites for working with Boundary Timer Event? One is that you need to set asyncExecutorActivate to true.  
Here when I’m pasting the XML, it is somehow removing few brackets for tags.

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [January 12, 2021, 7:41am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/7 "2021-01-12T07:41:33Z")

</div>

I didn’t use `asyncExecutorActivate` when using Boundary Timer on user tasks. Just configured the time and it worked.  
Are you getting any error?  
Instead of xml, you can try to share a screenshot of how you are using boundary timer

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 12, 2021, 8:12am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/8 "2021-01-12T08:12:07Z")

</div>

This is how I’ve used BE,

\<bpmn:boundaryEvent id=“idBE1” name=“BoundaryEvent1” attachedToRef=“idGetGACDStatus”\>  
\<bpmn:timerEventDefinition\>  
\<bpmn:timeDuration\>PT1S\</bpmn:timeDuration\>  
\</bpmn:timerEventDefinition\>  
\</bpmn:boundaryEvent\>

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [January 12, 2021, 10:30am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/9 "2021-01-12T10:30:25Z")

</div>

Which element has id `idGetGACDStatus` that is populated in `attachedToRef` attribute ?

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 12, 2021, 10:35am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/10 "2021-01-12T10:35:06Z")

</div>

> [@aashi](#):
>
> \<bpmn:serviceTask id=“idGetGACDStatus” name=“Get Status” flowable:delegateExpression=“{getGACDStatus}” /\>

It’s a service task as tagged above.

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 12, 2021, 7:05pm UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/11 "2021-01-12T19:05:05Z")

</div>

Hello,  
Is there any constraint that Boundary Timer Event only works with user tasks and not with service tasks?

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [January 19, 2021, 9:22am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/12 "2021-01-19T09:22:56Z")

</div>

- To have timers work, you indeed need the async executor component to be active

- Boundary timers events will only work on wait states. They won’t work on service tasks that are not wait states (like automatic steps).

---

<div class="post-metadata">

**Author:** ![aashi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aashi](https://forum.flowable.org/u/aashi)\
**Post date:** [January 19, 2021, 9:52am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/13 "2021-01-19T09:52:27Z")

</div>

According to this [documentation](https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/#timer-boundary-event) I understood that Boundary Timer Event works with all the activities which also includes Service Task.

Is there any other solution to this problem? I have a task to poll the status via Http request, if the task runs for more than 20 mins, then it should cancel it and proceed to next task.

Regards,  
Ashmita Sinha

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [January 19, 2021, 9:59am UTC](https://forum.flowable.org/t/boundary-timer-event-isnt-getting-triggered/7297/14 "2021-01-19T09:59:21Z")

</div>

No, timer boundary do not work on automatic steps.

> [@aashi](#):
>
> I have a task to poll the status via Http request, if the task runs for more than 20 mins,

Do note that keeping a database open for 20 minutes is a bad practice. Typical databases won’t allow this.

A solution could be to send off to another system (e.g. using a send event) and then wait for it to come back. That would allow you to 1) place a boundary event 2) don’t keep the transaction open that long.
