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
akallioWileyakallioWiley 

Trigger Status

I have found a trigger in my production org that is not valid and not active. In other words, the field IsValid = False and the Status field equals 'Inactive'.

 

I have found in the docs that IsValid = False indicates that some change to MetaData has taken place since the trigger was deployed...like a field name being changed, but it seems that trigger will continue to work. I have yet found anything about the circumstances under which a trigger is deactivated.

 

Does anybody know why a trigger's Status made to be 'Inactive'. I assume this means that trigger is not working at all.

 

Thanks

Starz26Starz26

isValid - you are correct. To make valid again, compile all classes...(IIRC)

 

inActive means that an admin set the status of the trigger to inactive. Done either through a deployment or metadata change. And yes, it means that the trigger is not going to fire at all unless it is made active again