Record Assignment Notification

Sugar can be configured to send Email Notifications to a user whenever another user assigns them a record. But in this article we are going to see how we can show notifications to users in the Sugar Notification Box on record assignment. We will use Leads,Contacts,Accounts and Opportunities module as our basis.

Adding a new Application Hook

We will create a new application logic hook which will get triggered when ever a new record is assigned to a user.

Step 1: Adding a new application hook


Step 2: Define notification hook class


Step 6: Quick Repair and Rebuild

Finally, you will need to run Quick Repair and Rebuild in order to build your new extensions.


2 thoughts on “Record Assignment Notification

  1. Hi Shijin,

    The application hook path should be custom/Extension/application/Ext/LogicHooks/notification_hook.php.
    I think you have updated it by incorrectly by mistake.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s