Process Timer: Create an infinite loop?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2016 03:33 AM
Hello. I'd like to know how to make a timer flow that goes infinitely in process. I know it has something to do with the Time Cycle and Time Duration… but how do I set it that it runs infinitely per… shall we say, 1 day/24 hours? How do I set the Time Cycle and Time Duration?
Thanks
Thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2016 05:42 AM
See: http://www.activiti.org/userguide/#timerEventDefinitions
For example: R/2015-10-01T11:00:00/PT24H will trigger indefinitely this event every 24 hours starting with 2015-10-01T11:00:00.
For example: R/2015-10-01T11:00:00/PT24H will trigger indefinitely this event every 24 hours starting with 2015-10-01T11:00:00.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2016 01:55 AM
So…. what if I want to repeat it every five minutes right as the process is started? I think it would be R/5M. However… where do I put that: Time Duration or Time Cycle?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2016 05:51 AM
Use a cron expression to define what time you want it to be fired. In cron, it's easy to express 'forever'.
