# When a new custom transaction ends does the original 'parent' continue?

**URL:** <https://discuss.elastic.co/t/when-a-new-custom-transaction-ends-does-the-original-parent-continue/363805>\
**Category:** Elastic Observability\
**Created:** [July 25, 2024, 6:41pm UTC](https://discuss.elastic.co/t/when-a-new-custom-transaction-ends-does-the-original-parent-continue/363805 "2024-07-25T18:41:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantoomey](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@dantoomey](https://discuss.elastic.co/u/dantoomey)\
**Post date:** [July 25, 2024, 6:41pm UTC](https://discuss.elastic.co/t/when-a-new-custom-transaction-ends-does-the-original-parent-continue/363805/1 "2024-07-25T18:41:32Z")

</div>

We have created a custom transaction on part of our code. When the custom transaction ends, does the prior transaction continue operating?  
For example:  
Transaction transaction = ElasticApm.startTransaction();  
where the type passed is "custom"
