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
Sandrine94748Sandrine94748 

detecting mass update on Assets

Hello,

is it possible in Apex class or Trigger to detect if there is an mass update on Assets ?

Thank you for reply
Best Answer chosen by Sandrine94748
Neetu_BansalNeetu_Bansal
Hello Kiran,

In Apex triggers, you have trigger.new or trigger.old list. Just check the size of that list, if it is greater than 1, then it is a mass update.

Please mark it as best answer, if it helps you.

Thanks,
Neetu