# HistoryService and Async history data

**URL:** <https://forum.flowable.org/t/historyservice-and-async-history-data/3952>\
**Category:** Flowable Engine\
**Created:** [May 29, 2019, 7:16am UTC](https://forum.flowable.org/t/historyservice-and-async-history-data/3952 "2019-05-29T07:16:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohsen](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@mohsen](https://forum.flowable.org/u/mohsen)\
**Post date:** [May 29, 2019, 7:16am UTC](https://forum.flowable.org/t/historyservice-and-async-history-data/3952/1 "2019-05-29T07:16:19Z")

</div>

Hi flowable team.  
I’m using flowable v6.4.1 alongside spring boot.  
i configured async history enabled alongside rabbitMQ as explained in this example: [https://github.com/flowable/flowable-examples/tree/master/async-history](https://github.com/flowable/flowable-examples/tree/master/async-history)  
i implemented jobHandler and storing all jsons (async data) in mongodb  
my question is:  
after handling job and returning true, all historic data will be deleted from db that engine use. in the other hand i use historyService all around my project. so if i’m enable asyncHistory and store data in mongoDB i can not use historyService anymore? should (can?) i override historyService to read from mongo collections that i created manually?  
thanks.
