AnsweredAssumed Answered

problem with intermediateCatchEvent

Question asked by m2spring on Nov 28, 2012
Latest reply on Dec 4, 2012 by m2spring
I'm trying to have a 5 seconds "sleep" task in my workflow using the

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="" xmlns:xsi="" xmlns:activiti="" xmlns:bpmndi="" xmlns:omgdc="" xmlns:omgdi="" typeLanguage="" expressionLanguage="" targetNamespace="">
  <process id="wfsleep" name="WfSleep" isExecutable="true">
    <startEvent id="startevent1" name="Start"></startEvent>
    <endEvent id="endevent1" name="End"></endEvent>
    <scriptTask id="scripttask1" name="1" scriptFormat="groovy">
      <script><![CDATA[System.out.println("script task 1");]]></script>
    <scriptTask id="scripttask2" name="Script Task" scriptFormat="groovy">
      <script><![CDATA[System.out.println("script task 2");]]></script>
    <intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">

The intermediateCatchEvent task never completes.

What am I doing wrong?

Here's how I invoke the workflow:

A full Maven project to reproduce this problem in a JUnit test is here: