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
RArunrajRArunraj 

Product Trigger is not working properly

I have a product trigger, as below

 

trigger check on Product2 (after update) {

    for(Product2 p:Trigger.new) {
        System.debug('Inside the producttrigger:::'+p.IsActive);
    }        

}

 

The product trigger is firing properly when the product record is edited from the detail page. But the same trigger is not firing when the product record is edited from the list view by clicking the Activate/Deactivate link . But the record gets updated correctly. Is there any work around for this?