• Anime Lover
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi there,
I am stuck in my program, Actually I want to use String expression into the IF statement condition.
eg:
String expression1 = 'Annual_Rev__c != 0 && Status__c == "Closed"';
if(expression1 ){
System.debug('It Worked...!');
}

Is there any solution for this, Please let me know your thoughts on this.

Thanks,
Rahul​​​​​​​
Hi there,
I am stuck in my program, Actually I want to use String expression into the IF statement condition.
eg:
String expression1 = 'Annual_Rev__c != 0 && Status__c == "Closed"';
if(expression1 ){
System.debug('It Worked...!');
}

Is there any solution for this, Please let me know your thoughts on this.

Thanks,
Rahul​​​​​​​