Property defaultNumberOfRetries of Process Engine

186 views
Skip to first unread message

d200...@yahoo.com

unread,
Jan 28, 2016, 6:37:20 AM1/28/16
to camunda BPM users
Hi,

i tried to configure my process engine in bpm-platform.xml file with the property defaultNumberOfRetries = 0, so that the job executor won't retry to execute the job when an incident happens. Somehow it did not work. Since i configured this property, the process engine could not start new process instance anymore. When i removed this configuration, the process engine worked like normal. Do you guys have any idea how i can fix this and configure the process engine with the defaultNumberOfRetries of 0. Thanks you all in advance.

Cheers,

Nam

Ingo Richtsmeier

unread,
Jan 28, 2016, 8:06:32 AM1/28/16
to camunda BPM users, d200...@yahoo.com
Hi Nam, 

have a look at this example: https://github.com/camunda/camunda-consulting/tree/master/snippets/change-job-retry

Hope this helps,

Ingo

d200...@yahoo.com

unread,
Jan 28, 2016, 9:42:11 AM1/28/16
to camunda BPM users, d200...@yahoo.com
Hi Ingo,

thanks for your prompt reply and your solution, i could successfully configure the process engine with this property defaultNumberOfRetries. Actually it should be set to 1 not 0 like i did before. I have configure the StartEvent as a asynchronous job so every new process instance of mine will be treated as a job, therefore it will be saved in job table in database. Every job should need at least 1 Retry in database so that it can be picked by job executor. Otherwise the job executor won't do anything at all. That explains why my process engine suddenly stopped to create process instance. Hope this information helps some of you.

Cheers,

Nam
Reply all
Reply to author
Forward
0 new messages