Hi,
What is wrong with the following process definition
<process id="timer_catching_event" name="My process" isExecutable="true">
<endEvent id="endevent1" name="End"></endEvent>
<startEvent id="startevent1" name="Start"></startEvent>
<intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">
<timerEventDefinition>
<timeCycle>R4/PT10S</timeCycle>
</timerEventDefinition>
</intermediateCatchEvent>
<scriptTask id="scripttask1" name="Script Task" scriptFormat="javascript" activiti:autoStoreVariables="false">
<script>java.lang.System.out.println("Script Task in Timer Catching Example Executed");
java.lang.System.out.println("Time of Execution");
java.lang.System.out.println(JSON.stringify(new Date()));</script>
</scriptTask>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="timerintermediatecatchevent1"></sequenceFlow>
<sequenceFlow id="flow2" sourceRef="timerintermediatecatchevent1" targetRef="scripttask1"></sequenceFlow>
<sequenceFlow id="flow3" sourceRef="scripttask1" targetRef="endevent1"></sequenceFlow>
</process>
The script task is executing only once.