cancel
Showing results for 
Search instead for 
Did you mean: 

Repeating processes on interval Activiti

chrispg
Champ in-the-making
Champ in-the-making
Hi All,

Id like to know how to run a process on an interval basis, say, every hour, or every 2 hours. This would run indefinitely and stop when I manually stop it.

I did have a look on the forums and google but I couldn't find anyone answers. I think an ISO861 solution should do it but I'm not sure on the implementation. I'm open to all solutions though.

Appreciate any diagram designs, posts, sights that can be referenced in your answer.

Thanks for your consideration.

Blessings
5 REPLIES 5

chrispg
Champ in-the-making
Champ in-the-making
Further clarification: Id like the timer event to be configured via a java service task so the timer event can be continually configured once the process is launched.

sathish1
Champ in-the-making
Champ in-the-making
May be the table and example here will help with what you are looking for
<link>http://www.quartz-scheduler.org/docs/tutorials/crontrigger.html</link>

jbarrez
Star Contributor
Star Contributor
The Activiti way to do this is using a timer start event: http://activiti.org/userguide/index.html#bpmnTimerStartEvent

justass
Champ in-the-making
Champ in-the-making
Is it possible to read timer event properties from external properties file and to change timer settings without deploying new process version?

jbarrez
Star Contributor
Star Contributor
No, that's currently not supported. The timers are handled by inserting a row in the ACT_RU_JOB table, with a given date stamp on which it will be executed. But changing the expression, no that is not posible out of the box.