AnsweredAssumed Answered

Timer bondary event does not trigger

Question asked by chantme on Oct 17, 2012
Latest reply on Oct 18, 2012 by chantme

I made a test for discovering the timer boundary event

DC complete task01, Brian is assigned task02
If he does not complete it in 1 minute, Joe will be assigned on task03.

To test it, I put a Thread.sleep() during 65 secondes juste after the completion of task01

But it seems that the timer boundary never triggers, and Joe never gets assigned …

Could you tell what is wrong, or what I do not understand  :?

Thank you…


<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="" xmlns:xsi="" xmlns:activiti="" xmlns:bpmndi="" xmlns:omgdc="" xmlns:omgdi="" typeLanguage="" expressionLanguage="" targetNamespace="">
  <process id="loanrequest" name="Process to handle a loan request">
    <startEvent id="theStart"></startEvent>
    <userTask id="task01" name="First Task" activiti:candidateGroups="DC"></userTask>
    <userTask id="task02" name="Second Task" activiti:assignee="Brian"></userTask>
    <boundaryEvent id="mytestTimer" name="My Test Timer" cancelActivity="true" attachedToRef="task02">
    <userTask id="task03" name="Third Task" activiti:assignee="Joe" ></userTask>
    <exclusiveGateway id="finalGateway"></exclusiveGateway>
    <endEvent id="theEnd"></endEvent>
    <sequenceFlow id="_2" name="" sourceRef="theStart" targetRef="task01"></sequenceFlow>
    <sequenceFlow id="_5" name="" sourceRef="task02" targetRef="finalGateway"></sequenceFlow>
    <sequenceFlow id="_6" name="" sourceRef="mytestTimer" targetRef="task03"></sequenceFlow>
    <sequenceFlow id="_7" name="" sourceRef="task03" targetRef="finalGateway"></sequenceFlow>
    <sequenceFlow id="flow1" name="" sourceRef="task01" targetRef="task02"></sequenceFlow>
    <sequenceFlow id="flow2" name="" sourceRef="finalGateway" targetRef="theEnd"></sequenceFlow>
  <bpmndi:BPMNDiagram id="BPMNDiagram_mytest">