EX-01: The job does not know what to do when started twice
Area: Exceptions and conflicts · Severity: medium · Catalogue version 1.104.0
Why it matters
If a job runs twice at the same time, the work is done twice.
Before (example)
Example: the same invoice is sent twice.
How to fix it
Say what the agent does when the task is already running or already done.
After (example)
The agent stops when this task is already running or already finished.Check it yourself
Read your instruction files and look for a sentence that says what the agent does if it notices that it is already running or has already finished this task.
Recognised wording
The check looks in your instruction files for a sentence with one of these wordings (German or English):
bereits läuftis idempotentare idempotentis already runningmust be idempotentare already runninga duplicate run is skippedwird nie doppelt ausgeführta duplicate run is preventedduplicate runs are preventeddoppelläufe werden verhindertwird nicht doppelt ausgeführtein doppellauf wird verhindertwerden nicht doppelt ausgeführtis guarded against running twiceein doppellauf ist ausgeschlossenis protected against running twicedarf nicht doppelt ausgeführt werden
A sentence that starts like this counts too: run only one, nicht doppelt, never run twice, starte nie zwei, do not run twice, never start a second, starte nicht doppelt, do not start a second.
The check reads words, not meaning: a sentence that is right in meaning but holds none of these wordings is not recognised. The list grows with every catalogue version.