AnsweredAssumed Answered

Same jobs on separated engines in cluster

Question asked by victor1 on Aug 12, 2015
Latest reply on Sep 12, 2015 by trademak
Hello everyone!

There are two applications working with the same database.
Applications use the business process involves asynchronous tasks.

There is also an EventListener, which writes processInstanceId for all jobs that have been completed and counts the number of completed jobs. During tests, i saw that one app performs a bit more jobs than another.
For example, if two applications had to perform 1000 jobs as a result of one of them performs about 1050, and another 1000.
When i checked stored processInstanceIds, and saw that there are matching id so both apps execute same jobs.

Please tell me why this might be.
The idea is if AsyncJobExecutor takes the task to work, it must lock it and other JobExecutors that work with same database cant execute it.

Outcomes