How to create notifications!

Hello ,
i need to make custom desk notification when status of doctype change ,that work like the leads and todo
how could i achieve that ?

Create a hook to get notification settings:

Example:

Implementation:

2 Likes