# Scheduler for reconciliation

**URL:** <https://discuss.elastic.co/t/scheduler-for-reconciliation/357451>\
**Category:** Elasticsearch\
**Created:** [April 15, 2024, 6:04pm UTC](https://discuss.elastic.co/t/scheduler-for-reconciliation/357451 "2024-04-15T18:04:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish25](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@ashish25](https://discuss.elastic.co/u/ashish25)\
**Post date:** [April 15, 2024, 6:04pm UTC](https://discuss.elastic.co/t/scheduler-for-reconciliation/357451/1 "2024-04-15T18:04:59Z")

</div>

Hi,

I am having 2 indices transaction and event.

**transaction doc:**

POST transaction/\_doc/1234  
{  
"status": "Initiate",  
"payload": "data",  
"correlationId": "1234"  
}

**event doc:**

POST event/\_doc/1  
{  
"eventStatus": "Delivered",  
"correlationId": "1234"  
}

I want to create some scheduler/watcher which will reconcile these data after 6 hours and update transaction index based on event, like below:

After 6 hours when reconciliation will trigger then transaction document will change it to -

{  
**"status": "Delivered",**  
"payload": "data",  
"correlationId": "1234"  
}

Please let us know your inputs on this.
