Hi!
I’m having 10 custom fields in my lead module, I want to notify a user everytime one of those 10 custom fields is updated on the CRM
I can’t do it with a workflow on the dashboard so Im looking for a way to do in on the code but ca’t find the code where the update is done.
Thanks for your help
John
1 April 2016 08:58
2
Hi,
You could likely do this by creating a Logic Hook.
Some documentation on logic hooks can be found here: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Module_Framework/Logic_Hooks/index.html
and here: http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Module_Framework/Logic_Hooks/Introduction/
I also wrote up a post a while ago about creating a logic hook that might help. You’ll probably have to repurpose it, (i.e, changing file names & locations).
The post can be found here: https://suitecrm.com/forum/advanced-opensales-workflow-portal-support/6307-custom-action#22654
A blog post I also found that gives a decent look into creating a simple logic hook is: http://cheleguanaco.blogspot.co.uk/2009/06/simple-sugarcrm-logic-hook-example.html
Hopefully these links give you a good start!