cancel
Showing results for 
Search instead for 
Did you mean: 

TimerStartEvent : How to?

mohta
Champ in-the-making
Champ in-the-making
Hello,

I'm quite new with timers on activiti , i'm trying to execute a process every 1 minute ( undefinitely). For that , i created a TimerStartEvent , that will initiate my task

Timer properties are as follow :

Timecycle : R/PT1M

I've a project for testing, i deploy my different BPMN and then i made a Thread.Sleep( 10000000) / ( also a while true loop in a second version).

I've made a breakpoint on my task method , but it never breaks there! it's like the timer is not executing my task…

Any help with this? how to correctly set up the timer?

Thanks!
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Did you start job executor in the test?
(example: org.activiti.engine.test.bpmn.event.timer.StartTimerEventTest#testDurationStartTimerEvent in activiti source)

Regards
Martin

mohta
Champ in-the-making
Champ in-the-making
Nope, i thought depoying diagram will start automatically the job
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.