eg:
Is there any solution for this, Please let me know your thoughts on this.Thanks,Rahul​​​​​​​String expression1 = 'Annual_Rev__c != 0 && Status__c == "Closed"';
if(expression1 ){
System.debug('It Worked...!');
}
4 answers
Hi Ankaiah usually, we use any Boolean expression in the if(Condition) like If(Acc.Industry == 'Software') but can we put the condition into the string variable and use that variable to IF() condition likeString expression1 = 'Acc.Industry == 'Software';if(expression1){System.debug(true);}