# Prepare State on Datanodes

**URL:** <https://developerforum.realequity.dk/t/prepare-state-on-datanodes/172>\
**Category:** Datanodes\
**Tags:** docs, datanode\
**Created:** [June 10, 2022, 9:24am UTC](https://developerforum.realequity.dk/t/prepare-state-on-datanodes/172 "2022-06-10T09:24:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 10, 2022, 9:24am UTC](https://developerforum.realequity.dk/t/prepare-state-on-datanodes/172/1 "2022-06-10T09:24:32Z")

</div>

All Datanodes can be created with the _isPrepare_ property set to true. In this case RealEquity will create the Datanode, but will not index or process the Datanode. This means that the Datanode will not be available in the internal search index and will not be included in lists.

## Commit a Datanode in Prepare state

By calling [Commit](https://docs.realequity.dk/reference/commitdatanode) on a Datanode, the Datanode will be finalized and processed. After a Datanode that was in the Prepare state is committed, the _isPrepare_ property will return false.

> ⚠ **Commit on a Datanode with child Datanodes**  
> When Commit is called on a Datanode, all children will also be Committed in the same transaction. In this way, it can be assured that all Datanodes in the tree-structure will be available to the system at the same time.

---

<div class="post-metadata">

**Author:** ![asbjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/developerforum.realequity.dk/asbjoern/32/17_2.png) [@asbjoern](https://developerforum.realequity.dk/u/asbjoern)\
**Post date:** [June 10, 2022, 9:25am UTC](https://developerforum.realequity.dk/t/prepare-state-on-datanodes/172/2 "2022-06-10T09:25:15Z")

</div>


