How can I disable auto retries (three are set by default) when a task fails?
The number of retries can be set for all tasks programmatically:
@Bean
EngineConfigurationConfigurer<SpringProcessEngineConfiguration> processEngineConfigurationEngineConfigurationConfigurer(){
return engineConfiguration -> {
engineConfiguration.setAsyncExecutorNumberOfRetries(desiredNumberOfRetries);
};
}
1 Like
Great! I haven’t seen that in the docs.