public with sharing class LexBTReportController { public LexBTReportController() { } @AuraEnabled public static String init(String recordId){ try { Campaign c=[select CampaignStatus__c from Campaign where id = :recordId]; return c.CampaignStatus__c; } catch (Exception e) { System.debug('LexBTReportController init error:'+e.getMessage()); } return null; } }