AnsweredAssumed Answered

CONVERT LEAD HOW TO IDENTIFY CAME FROM CONVERTLEAD IN ACCOUNT LOGIC HOOK

Question asked by delsugar on Mar 16, 2016
Latest reply on Sep 12, 2016 by Offshore Evolution

Hello,

 

I need to identify in my account before_save logic hook where I came from the convertlead module or not. I used to be able to do this in 6.5

with if ($_REQUEST['action'] != 'ConvertLead')

 

How can I implement this in SUGAR 7.6.x

 

Accounts before_logic_hook

 

class accounts_logic_class {

        function before_save_method($bean, $event, $arguments) {

          

             if ($_REQUEST['action'] != 'ConvertLead') {

                //dosomething

             }

        

        }

}

Thank you

Outcomes