HI,I am facing issues getting boundary timer work. i deployed the "Helpdesk process" given in examples and deployed it through code using..runtimeService.startProcessInstanceByKey("escalationExample", variableMap);runtimeService.startProcessInstanceByKey("myProcess", variableMap);and it worked fine. Next i tried myProcess very similar to Helpdesk process the only difference is i replaced human tasks with service tasks. the service task has just some print statements and a Thread.sleep(50000);//sleep for 50 seconds
and boundary timer is set for 30 seconds as in Helpdesk process. But the boundary timer is never triggered. I show the xml for the BPMN. Please assist.I am not sure where i am going wrong. why is my boundary timer not getting triggered.???<blockcode><process id="myProcess" name="My process" isExecutable="true"> <startEvent id="startevent1" name="Start"> <extensionElements> <activiti:formProperty id="element1" name="claimNumber" type="string" variable="claimNumber"></activiti:formProperty> </extensionElements> </startEvent> <sequenceFlow id="flow15" sourceRef="startevent1" targetRef="servicetask2"></sequenceFlow> <serviceTask id="servicetask2" name="EmailTask" activiti:class="com.accenture.services.ReverseStringsFieldInjectedEscalated"></serviceTask> <sequenceFlow id="flow14" sourceRef="servicetask2" targetRef="endevent1"></sequenceFlow> <endEvent id="endevent1" name="End"></endEvent> <boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="servicetask2" cancelActivity="true"> <timerEventDefinition> <timeDuration>PT30S</timeDuration> </timerEventDefinition> </boundaryEvent> <sequenceFlow id="flow10" sourceRef="boundarytimer1" targetRef="servicetask3"></sequenceFlow> <serviceTask id="servicetask3" name="Boundary timer task" activiti:class="com.accenture.services.ReverseStringsFieldInjectedBoundary"></serviceTask> <sequenceFlow id="flow16" sourceRef="servicetask3" targetRef="endevent2"></sequenceFlow> <endEvent id="endevent2" name="End"></endEvent> </process></blockcode>