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
Raj R.Raj R. 

How to save an apex class and trigger as inactive?

Hi,
Whenever I try to save a trigger and class inactive, I get an error indicating that the class or trigger cannot be saved as active.

Under what criteria(s) can an apex class and trigger be saved as inactive? 
Best Answer chosen by Raj R.
nikkeynikkey
Hi rRup , 

You dont have an option to make Apex classes inactive where as trigger can be made as inactive.