Hello
I was trying to use camunda process engine to control my home brewing kettle and I came up to following situation:
I would like to be able to measure temperature of the brew each second. The problem is that if I set the non-interrupting timer start event to something like R/PT1S, the event doesn’t get fired once every second but it gets to a loop where it gets fired right after it is finished which means about each few millis (see the log). When I set the timer to R/PT1M the problem disappears and it gets called roughly each minute.
Process:
here you can see a test process which demonstrates the problem and isstripped form any other junk.
test1.bpmn (5.7 KB)
The JAVA code in the expression (called by the service task) only prints current date to the console.
I would like to ask whether I am missing something or if I discovered a bug? I see that in your christmas blog entry here you use PT1S successfully.
I am using camunda 7.6.0, run on wildfly shared engine.
Log:
15:11:47,498 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='65b2a4b4-d0f5-11e6-8d3c-005056c00001'
15:11:47,557 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:47 CET 2017
15:11:47,679 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='65d39a3e-d0f5-11e6-8d3c-005056c00001'
15:11:47,702 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:47 CET 2017
15:11:47,746 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='65eaf2d8-d0f5-11e6-8d3c-005056c00001'
15:11:47,816 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:47 CET 2017
15:11:47,834 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='65fca622-d0f5-11e6-8d3c-005056c00001'
15:11:47,879 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:47 CET 2017
15:11:47,891 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='66066a2c-d0f5-11e6-8d3c-005056c00001'
15:11:47,947 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:47 CET 2017
15:11:48,001 INFO [org.camunda.bpm.engine.jobexecutor] (pool-8-thread-2) ENGINE-14008 Adding new exclusive job to job executor context. Job Id='6610ca76-d0f5-11e6-8d3c-005056c00001'
15:11:48,067 INFO [stdout] (pool-8-thread-2) Mon Jan 02 15:11:48 CET 2017
Thank you
Adam