AnsweredAssumed Answered

My file is not being read by the logic hooks file

Question asked by Nour Nour on Jul 11, 2014
Latest reply on Feb 19, 2015 by bkarthik
Logic hooks not Working. I am following Angel's blog. http://cheleguanaco.blogspot.com/2009/11/sugarcrm-customization-custom-workflow.html
I did exactly the same thing, and I named the file WelcomeNote.php in custom/modules/Leads . Apparently, the my file is not being read by the logic hooks file because when I change the function in WelcomeNote.php or the class, no error is displayed and nothing happens. 
When I  change in logic hooks the line having the function, like if I write a wrong class or a wrong function. Nothing actually happens too. 
What should I do. 
My logic hooks file in custom/modules lead is this: 

// be automatically rebuilt in the future. 
 $hook_version = 1; 
$hook_array = Array(); 
// position, file, function 
$hook_array['before_save'] = Array(); 
$hook_array['before_save'][] = Array(1, 'Leads push feed', 'modules/Leads/SugarFeeds/LeadFeed.php','LeadFeed', 'pushFeed'); 
$hook_array['after_ui_frame'] = Array(); 
$hook_array['after_ui_frame'][] = Array(1, 'Leads InsideView frame', 'modules/Connectors/connectors/sources/ext/rest/insideview/InsideViewLogicHook.php','InsideViewLogicHook', 'showFrame'); 
$hook_array['after_save'] = Array(); 
$hook_array['after_save'][] = Array(1, 'INSERT_INTO_PM_ENTRY_TABLE', 'modules/PM_ProcessManager/insertIntoPmEntryTable.php','insertIntoPmEntryTable', 'setPmEntryTable'); 
$hook_array['after_save'] = Array(); 
$hook_array['after_save'][] = Array(1, 'welcoming', 'Leads/welcomeNote.php', 'Welcome', 'sendMessage');


?>
Nothing Happens. No error is displayed in the logs. Nothing.. 

Outcomes