# Overriding Async Properties

**URL:** https://forum.flowable.org/t/overriding-async-properties/5895
**Category:** Flowable Engine
**Created:** [April 24, 2020, 8:12am UTC](https://forum.flowable.org/t/overriding-async-properties/5895 "2020-04-24T08:12:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MAGICBEANSS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/magicbeanss/32/1926_2.png) [@MAGICBEANSS](https://forum.flowable.org/u/MAGICBEANSS)
#### Post date: [April 24, 2020, 8:12am UTC](https://forum.flowable.org/t/overriding-async-properties/5895/1 "2020-04-24T08:12:56Z")

</div>

How can i override async properties defined here

> **[Advanced · Flowable Open Source Documentation](https://flowable.com/open-source/docs/bpmn/ch18-Advanced/#async-executor-configuration)**
>
> The following sections cover advanced use cases of Flowable, that go beyond typical execution of BPMN 2.0 processes. As such, a certain proficiency and experience with Flowable is advised to understand the topics described here.

I tried this piece of code here , but does not seems to be working  
@Slf4j  
@Configuration  
public abstract class CustomAsyncExecutor extends DefaultAsyncJobExecutor implements AsyncExecutor {

```
  CustomAsyncExecutor() {
this.getJobServiceConfiguration().setAsyncExecutorNumberOfRetries(3);
  }
}

```

Please help.  
@filiphr

---

<div class="post-metadata">

### Author: ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)
#### Post date: [April 24, 2020, 11:50am UTC](https://forum.flowable.org/t/overriding-async-properties/5895/2 "2020-04-24T11:50:09Z")

</div>

Does it work when you configure it according

> **[Advanced · Flowable Open Source Documentation](https://flowable.com/open-source/docs/bpmn/ch18-Advanced/#async-executor-configuration)**
>
> The following sections cover advanced use cases of Flowable, that go beyond typical execution of BPMN 2.0 processes. As such, a certain proficiency and experience with Flowable is advised to understand the topics described here.

  
in the process engine configuration?

Regards  
Martin

---

<div class="post-metadata">

### Author: ![MAGICBEANSS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/magicbeanss/32/1926_2.png) [@MAGICBEANSS](https://forum.flowable.org/u/MAGICBEANSS)
#### Post date: [April 25, 2020, 8:32pm UTC](https://forum.flowable.org/t/overriding-async-properties/5895/3 "2020-04-25T20:32:33Z")

</div>

The above code didn’t work at all.  
I am not sure how to configure this in Process Engine Configuration.If you could guide me with any sample code or hint, I can try.

THanks

---

<div class="post-metadata">

### Author: ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)
#### Post date: [April 29, 2020, 8:24pm UTC](https://forum.flowable.org/t/overriding-async-properties/5895/4 "2020-04-29T20:24:23Z")

</div>

Is this a Spring Boot application? The custom async executor needs to be injected into the engine configuration.

However, in this particular case the property can immediately be set on the engine configuration by using

> processEngineConfiguration.setAsyncHistoryExecutorNumberOfRetries(5);
