After_save event in hooks

Hi,
we created a new customized app, when trying to add after_save event in the app’s hooks as below
doc_events = {
“Address”: {
“after_save”: “customapp.customapp.xxxxxx”}
it seems the triger of event is not working.

Dear Ruba, welcome to community,

after save trigger is after_save(frm) you can find examples at
https://frappeframework.com/docs/user/en/api/form#standard-form-scripts

@emre Dear it doesn’t work when create custom app and put “after_save”
in hook file ( doc type event section )

@emre, HI Dear
as we use after_save event in server script, we need to use the same event on doctype but in hooks of a new custom app.

Thanks