How to call a callpoint after the subscription?

How to call a callpoint after the subscription ?
I have list and i want to set a value with mappi_set_elem after my subscription.

      list ts {
        tailf:callpoint my_callpoint {
          tailf:transaction-hook node; // i want to go in this callpoint after my subscription
          tailf:config "true";
        }
        key ts;
        leaf ts {
          type uint8{
            range 1..31;
            tailf:info "timeslot value;;[1..15,17..31]";
          }
        }

Hi,

what callpoint?
question is too generic, please describe bit more what you want to achieve…

b.r.
joseph

I have list and i want to set a value with mappi_set_elem after my subscription in my calloint with maapi_set_elem

So by “subscription” you are referring to a callback in a data provider that has been registered using a callpoint id?
I.e. not a CDB subscriber.

Didn’t see that you edited your initial post until now… So on how to handle a transaction-hook, see for example
examples.confd/snmpa/11-different-keys/hook.c