cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate execution of the job due to same wait event

0 Kudos

Hi All,

I have a job where in three wait events are associated to this job with auto submit option as 'Only one' for all 3 wait events. This job was running fine previously but now we have observed that this job executed twice at same time with the same event.


Could anyone help me in regards and let me know what might cause this duplicate execution and how we can prevent this duplicate run in future.

Please note: Job is not scheduled.

Thanks & Regards
Peeyush Aggarwal

Accepted Solutions (1)

Accepted Solutions (1)

nanda_kumar21
Active Contributor
0 Kudos

Set aut-submit to "Only once" for only one of the events. For the rest of the two, set it to Never.

Event 1 - auto submit - "Only Once"

Event 2 - auto submit - "Never"

Event 3 - auto submit - "Never"

Thanks

Nanda

gmblom
Active Contributor
0 Kudos

Hello,

I would set the first to autosubmit 'Always'. There is a timing issue in the Only One option that can cause your processing to hang. In the case where two events are raised quickly after each other, the first will get raised and start a job. Now when this job is not going to Running quickly enough, the second event will get raised, but will not start a new job (Only One!), and thus will not get cleared which will keep the event in Raised, holding up all incoming Pending events.

Regards Gerben

Answers (0)