AnsweredAssumed Answered

Convertlead - How to check REQUEST['action'] 

Question asked by delsugar on Mar 17, 2016



I used to be able to do check in SugarCRM 6.5.x the REQUEST['action'] parameter.


How can I implement this in SUGAR 7.6.x




class accounts_logic_class {

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


           if ($_REQUEST['action'] != 'ConvertLead') {   <<---HOW TO CHECK IN SUGAR 7


                //I only want to do this if I came from account module not from convertlead





Thank you