When Salesforce CPQ is installed or the package is upgraded, the CPQ package runs “Post Install Scripts” to align CPQ fields with proper values for CPQ functionality introduced that may feed other processes down stream.
NOTE: When executing Post Install Scripts, fields impacted by this action will record the user who initiated the install scripts in Modified By. Details, including the User and Status for these scripts can be found in Apex Jobs.
NOTE: If an organization is on the auto-upgrade program (link to https://help.salesforce.com/s/articleView?id=000319060&type=1) Upgrades will run the Post Install Scripts as a temporary User with the standard System Administrator Profile. Any script updates that invoke a custom or managed Trigger using Apex classes that have sharing enabled make cause a failure. Re-run the scripts as your System Administrator.
CPQ Package Triggers are deactivated while the Post Install Scripts are executed.
NOTE: that Post Install Scripts do not touch non-CPQ fields.
If an organization has process automation (Workflow Rules/Process Builders/Custom Triggers) that fire on record edit or use a CPQ field as criteria to execute, custom automation that runs on record edit may cause conflicts with the post install scripts. This holds true to Apex Triggers from other installed packages running on edit of certain objects that CPQ may be updating.
If another package is causing issues with CPQ Post Install Scripts there should be an option to disable those package triggers to get past any potential conflict.
Custom Validation Rules on the Objects of Records being updated could cause conflict if they meet the criteria for validation/are invalid as well.
To check what is causing error go the Installed Package settings under the “Additional Settings” tab and press “Refresh Status”. The error there should point you in the direction of what is causing failure. Alternatively, you can look in setup under “Apex Jobs” and which batch process failed. The post install scripts include the following batch jobs that run on install, or when pressing "Execute scripts" when you go to Setup > Installed Packages > 'Configure' for the Salesforce CPQ package > 'Additional Settings' tab :
Upon upgrade/fresh install, all of the above batch processes will run in addition to the following:
000382092

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.