Automatically running a workflow
I have a workflow that I want to run every hour (automatically). I replaced the start event with a timerstartevent. I looked at the cron code. I didn’t see a recurring every hour option. Additionally, how do you start it, and how do you stop it? I read somewhere about putting a TimerCatchingEvent between the StartEvent and the Script event. Then the workflow would be started manually, but would run automatically after that. Am I on the right track?
michaelwalter
Posted 5 years ago · Edited 1 year ago·Last reply 5 years ago
1 comment
arthurburkhardt
·5 years ago · EditedHere’s an example of a scheduled workflow: https://marketplace.collibra.com/listings/daily-notification-of-refresh-conflicts/
Flowable documentation: https://flowable.com/open-source/docs/bpmn/ch07b-BPMN-Constructs/
And cron syntax tutorial: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html
0 0 * * * ?should work to trigger every one hourIf you want to turn it on or off, you can just click on the play/pause button to enable/disable the workflow.