Scheduled Workflows in Activiti

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2014 10:38 AM
There is an option in activiti to schedule workflows using Timer Start Event . They allow scheduling at one particular time or based on certain time period.
So in case of workflows that are scheduled to run in specific time intervals , what is the impact on activiti performance if we have many workflows scheduled at specific time interval and they are getting invoked after some time ?
Also if there is a workflow with 3 steps and starttimer is set to be invoked every 5 minutes.
start–>starttimer –> task1 –> task2–> end
Then, does that mean that this workflow will run in every 5 mins and perform Task1 and Task2?
So in case of workflows that are scheduled to run in specific time intervals , what is the impact on activiti performance if we have many workflows scheduled at specific time interval and they are getting invoked after some time ?
Also if there is a workflow with 3 steps and starttimer is set to be invoked every 5 minutes.
start–>starttimer –> task1 –> task2–> end
Then, does that mean that this workflow will run in every 5 mins and perform Task1 and Task2?
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2014 12:56 AM
Hi
Regards
Martin
time period.Yes http://www.activiti.org/userguide/#bpmnTimerStartEvent
Then, does that mean that this workflow will run in every 5 mins and perform Task1 and Task2?Use just one start event (TimerStartEvent). Current DefaultJobExecutor implementation does not guarantee that it will start process on exact time.
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2014 08:11 AM
Thanks Martin for your comments. When start timer is called it invokes the workflow but if we want to call our custom implementation while starting a workflow via Job executor is there any way to do that?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2014 07:45 AM
what do you mean with 'custom implementation'? You custom java service tasks? If so, that just works.
