# Callpoint calling sequence

**URL:** <https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539>\
**Category:** CDB and CDB API\
**Created:** [October 3, 2023, 5:20am UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539 "2023-10-03T05:20:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nchakrav](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@nchakrav](https://dmap-community.ductus.global/u/nchakrav)\
**Post date:** [October 3, 2023, 5:20am UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539/1 "2023-10-03T05:20:55Z")

</div>

Hi Team,

Is there a sequence in which the various callpoints are called.  
For e.g., if i have transform callpoint and transaction hook callpoint (with invocation-mode per-transaction) , is there a sequence in which it will get called per transaction i.e. will transform get called first followed by transaction hook callpoint?

---

<div class="post-metadata">

**Author:** ![nchakrav](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@nchakrav](https://dmap-community.ductus.global/u/nchakrav)\
**Post date:** [October 9, 2023, 6:07am UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539/2 "2023-10-09T06:07:51Z")

</div>

Suggestions will be helpful

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [October 9, 2023, 4:09pm UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539/3 "2023-10-09T16:09:36Z")

</div>

Hi,

The transform callbacks will be called before the transaction-hook per-transaction write\_all() callback.

---

<div class="post-metadata">

**Author:** ![nchakrav](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@nchakrav](https://dmap-community.ductus.global/u/nchakrav)\
**Post date:** [October 10, 2023, 8:02am UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539/4 "2023-10-10T08:02:59Z")

</div>

Is there any document which explains the calling sequence of various callpoints.  
I can see that CLI doesnt call validation callpoint before and after the commit. It is called only after the commit is executed. But in NETCONF, validation callpoint is called before and after the commit i.e. pre-commit and post-commit

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [October 10, 2023, 12:40pm UTC](https://dmap-community.ductus.global/t/callpoint-calling-sequence/4539/5 "2023-10-10T12:40:06Z")

</div>

You will get those details from the developer log with the log level set to `trace` in your `confd.conf` when running your tests or applications that use the northbound interfaces. In general, your validation code should not care when it is executed. The same goes for your transforms and transaction-hooks.  
I assume you are referring to the [NETCONF `<commit>`](https://www.rfc-editor.org/rfc/rfc6241#section-8.3.4.1) operation? That is not the same thing as a CLI `commit` command.
