//author :kkbes public with sharing class LexLeadRequestController { @AuraEnabled public static Lead init(String recordId){ Lead res = new Lead(); try{ res=[SELECT Id,Status,Tender_information__c FROM Lead WHERE Id = : recordId ]; return res; } catch(Exception e){ System.debug(LoggingLevel.INFO, '*** e: ' + e); return null; } } }