documentation for BPM 7.7 says you have to enable custom retry configuration by adding FoxFailedJobParseListener and foxFailedJobCommandFactory to the process engine configuration.
With 7.7.4-ee i set a custom retry cyle on a failing service-task and it works without adding this listener to the engine configuration.
Is this feature now enabled by default and the docs are not updated, or am i missing something?
Sorry for my late response.
You still need to enable this feature in 7.7 versions. From 7.8 it will be enabled by default and this configuration will be not needed anymore.
It is strange what you experienced. We need to dig into it further:
How do you deploy your process?
If you are using processes.xml file, please attach it.
And also could you please attach the process itself.
processes are deployed as part of our process-application (WAR-file). The application extends EjbProcessApplication.
testRetry.bpmn (6.9 KB)
After starting this process and waiting till all retries finished, i checked timestamps of jobs in the database:
select ACT_ID_, TIMESTAMP_ from ACT_HI_JOB_LOG where PROCESS_INSTANCE_ID_='389b18c7-ceaa-11e7-a26d-0a0027000000' order by ACT_ID_ desc, TIMESTAMP_ asc;
you are covering the default behavior when the custom retry configuration is not set up, which is
failed job will be retried 3 times. (read more here) You can test that by changing the failedJobRetryTimeCycle to R5/PT1M and see if it will be retried 5 times or again 3. As I said you still need the configuration for 7.7.
itāt not the amount of retries iām looking at.
it is the wait time for the retry (2 Minutes vs. immediately) that works without the listener configuration in the engine.
Custom retry is enabled by default if you are using āorg.camunda.bpm.container.impl.jboss.config. ManagedJtaProcessEngineConfigurationā on a Wildfly/JBoss subsystem.