Learn how to enable Pipeline Inspection in the scratch org using the scratch org definition file.
As per the documentation we need to have below settings in the definition file to enable “Pipeline Inspection“.
"settings": {
...
"opportunitySettings": {
"enablePipelineInspectionFlow": true
},
...
}
sf org create scratch —definition-file config/definition_file_name —alias scratch_org_alias —wait 10 —target-dev-hub devhub_org_username
In order to resolve the issue, we have to make some changes to the definition file as below,
"features": [---------,"PipelineInspection",**],
"settings":{
.....
.....
"OpportunitySettings”: {
"enableOpportunityTeam": true,
"enablePipelineInspection":true
}
...
}
Add “PipelineInspection” keyword to the “Features” and then use "enablePipelineInspection": true in “Settings” of definition file.
Try creating the scratch org after making this changes to the definition file, This will enable the pipeline inspection in the scratch org and it will be successfully created.
Note: If we use “enablePipelineInspection” instead of “enablePipelineInspectionFlow” this enables the Pipeline Inspection feature in the Opportunity tab. Also enables historical trending for opportunities, if the org has the historical trending org perm.
002718175

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.