Web Logic Hooks on Custom Module

Hi, I tried to create a Web Logic Hooks on a custom module but it won't work. The code works in a default Modules like Accounts