function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pankaj KPankaj K 

Help in Listner of OutBound Message

HI..

 

Thanks in advance..

 

In a outbound message I am passing an Active__c value that contains true or false. I am putting if condition on this field for checking it contains true or false.

For if(!Active__c) code runs properly but if it's value become true the line of code written in the if(Active__c) is not running.

 

Is there anything that i am doing wrong...??

 

Please reply i need to solve this problem urgently..

SrikanthKuruvaSrikanthKuruva

try to write the value of Active__c to a text file before the if condition. what i feel is sometimes the Active__c is coming as null.

Pankaj KPankaj K

thanks for advice..

 

what i did is..I passed the value of Active__c to a bool object then put if condition on it, then it works fine.