Configure Apex Hooks in a Product Discovery Procedure Plan
Use Apex sections in a Product Discovery procedure plan to run custom pricing logic,
such as fetching prices from an external system. The order of Apex and Pricing sections determines
how prices are applied. You can include multiple Pricing and Apex sections, but only one
Qualification section.
From Setup, in the Quick Find box, enter
Apex, then select Apex Classes.
Select New to create a new Apex class.
In the class editor, enter the class definition and save the definition. When you activate
a procedure plan, Salesforce checks the order of Qualification, Pricing, and Apex sections.
Activation fails if the order doesn’t follow the supported sequence.
Example
Examples of supported and unsupported section orders:
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
Always Active
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
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
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.