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
sashamsasham 

How to trace Trigger in production if it is not working

Could you pls someone explain how to debug wat is the satus of the trigger and monitoe if it is not working in mainly prodction 
For example: Reason : i have trigger(after trigger)  on one objects registarion . it is inserting date into an other object(states) . after registarion is created , it is inserting record in to states


 
Marc D BehrMarc D Behr
The easist way would be to set up debug logging (search for 'Debug Logs' in the setup menu) for a user that is affected and review the output after it is generated
Wilfredo Morillo 20Wilfredo Morillo 20
Run your test class for that trigger and check the code coverage and logs.