You need to sign in to do that
Don't have an account?
Debbie Dockery
This Apex trigger was set up years ago and I am trying to deactivate it and receive the following error message.
Class NameMethod NameError Message
CalculateBusinessHoursAgesTesttestBusinessHoursBucketerSystem.Exception: Assertion Failed
Stack Trace: Class.CalculateBusinessHoursAgesTest.testBusinessHoursBucketer: line 33, column 1
ST_OppNewtestLinkMIEventSystem.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, A workflow or approval field update caused an error when saving this record. Contact your administrator to resolve it. Challenges-Short: data value too large: • Highly segmented business increases complexity to meet service level <br>• Reconciling agent schedule between scheduled and actual <br>• Ensure utilization of resources without negatively impacting agent engagement <br>• Meeting Occupancy Goals – balancing between Inbound/outbound/off-phone work <br>• Training being canceled and rescheduled creates extensive manual exceptions data entry <br>• Double digit aux code abuse (max length=255): []
Stack Trace: Class.ST_OppNew.testLinkMIEvent: line 290, column 1
Any help would be greatly appreciated, I have very little knowledge about this.
Thanks,
Debbie
CalculateBusinessHoursAgesTesttestBusinessHoursBucketerSystem.Exception: Assertion Failed
Stack Trace: Class.CalculateBusinessHoursAgesTest.testBusinessHoursBucketer: line 33, column 1
ST_OppNewtestLinkMIEventSystem.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, A workflow or approval field update caused an error when saving this record. Contact your administrator to resolve it. Challenges-Short: data value too large: • Highly segmented business increases complexity to meet service level <br>• Reconciling agent schedule between scheduled and actual <br>• Ensure utilization of resources without negatively impacting agent engagement <br>• Meeting Occupancy Goals – balancing between Inbound/outbound/off-phone work <br>• Training being canceled and rescheduled creates extensive manual exceptions data entry <br>• Double digit aux code abuse (max length=255): []
Stack Trace: Class.ST_OppNew.testLinkMIEvent: line 290, column 1
Any help would be greatly appreciated, I have very little knowledge about this.
Thanks,
Debbie
Greetings to you!
According to Salesforce support:
Consideration:
Please refer to the below links which might help you further with the above issue.
https://sfdcfanboy.com/2017/11/23/a-tip-a-day-23-5-ways-to-stop-trigger-in-production/
https://salesforce.stackexchange.com/questions/15673/deactivating-classes-and-triggers
https://salesforce.stackexchange.com/questions/143338/disable-trigger-in-production-what-are-the-consequences
https://salesforce.stackexchange.com/questions/124025/deactivating-an-apex-trigger-in-production
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas