Hi
I have a workflow where the first activity is an email listener. To keep the listener running continuously, i have attached a timer in the start event ,so that it triggers every 5 seconds. But i cant see the timer working. I can start the workflow by using “start process” , but it just runs once and then stops.
Is there any way to make it keep running?.
Thanks.
Hi,
could you please upload you BPMN file?
The Timer start event has to be repeating.
Regards,
Lukas
1 Like
test-bpmn-6.bpmn (7.3 KB)
Uploading my bpmn. Time type has been set as cycle.
Hi,
thank you for you bpmn diagram.
The problem is in your timer definition, if you want to set repeating / cycling timer for every 5s, you have to set the timer definition to: R/PT5S. I am more familiar with this timer format. The format that you used is a cron format.
Here is a sample diagram:repeatingTimerProcess.bpmn (3.5 KB)
and also a pic:
Hope this helps.
Cheers,
Lukas
4 Likes
Thank you so much. It worked !!
1 Like