Error on Apex Trigger with CPQ Enabled
Summary
When deploying an Apex trigger from sandbox to production, an error similar to the following appears:
Code Coverage Failure
Environment
JIRA Server
Diagnostics Steps
Not applicable.
Cause
This may be due to CPQ's package trigger being enabled.
Workaround
Not applicable.
Resolution
There is an option in the CPQ managed package to disable the triggers. Try to disable the triggers in Salesforce's sandbox and run the test class again.
You can do so with these steps:
Click Setup > Installed Packages > Salesforce CPQ.
Then click Configure > Additional Settings > Triggers Disabled.
Note: You may have to log out and log back in.
, multiple selections available, Use left or right arrow keys to navigate selected items
Need support? Create a request with our support team.