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
AbAb 

Call function in paex class during update of ObjectCustom

Hello,

I want to implemeent below usecase

After update
 - I want to check that if the Picklist_Custom__c value = XYZ
IF true i want to call a Apex_classNAme.ApexFucntion()

How can i write the code for same.

thank you 
Best Answer chosen by Ab
Rounak SharmaRounak Sharma
hi sandrine,
You can implement the code in this manner:
if( Picklist_Custom__c value =='XYZ'){
Apex_classNAme.ApexFucntion();
}
Please let me know if it helped in any way. 
Thanks