Loading
Ongoing maintenance for Salesforce HelpRead More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure a Discovery Procedure

          Configure a Discovery Procedure

          To calculate a product's derived price, configure a discovery procedure with the elements required to gather all contributing factors.

          Required Editions

          User Permissions Needed
          To create discovery procedures:

          Salesforce Pricing Design Time User

          To run discovery procedures: Salesforce Pricing Run Time
          1. From the App Launcher, find and select Discovery Procedures.
          2. Click New.
          3. Specify these details.
            1. Enter a name and then press Tab to autopopulate the API name.
            2. Select Pricing Discovery as the usage type.
            3. Associate the discovery procedure with a context definition.
            In all our examples, we’ll use the SalesTransactionContext context definition. We also recommend using the predefined Default Discovery Procedure, or you can modify it with a context definition of your choice.
          4. Save your changes.
          5. On the Details tab, in the Discovery Procedure Versions section, click the discovery procedure version that you want to work on.
            The Discovery Procedure Builder opens in a new tab.
          6. To add your discovery elements, click Add element icon.
            1. If you want to map commonly used input variables, such as line items or net unit price, add the Discovery Settings element, followed by the Map Line Item element. These are optional.
            2. Add the Fetch Pricing Rules element and enter your values.
              Ensure that the Fetch Pricing Rules element is the first element in your pricing procedure.
            3. Add the Map Products element.
              The Map Products element uses the fixed input variables in the Fetch Pricing Rules element.
              For example, to derive the price of a contributing product within a single bundle in the quote line, use the Map Product element. Validate that the contributing product's parent bundle has the same ID by checking if the RootItem matches. If the contributing products share the same root product, then the derived price for the product is calculated.
            4. If your derived price record has set the pricing scope as Non-Transactional or Both, add the Asset Discovery element and map your variables.
              Non-transactional scope indicates that you can derive a product's derived from assets.
            Discovery Procedure Elements
          7. Click Settings icon, and enter 1 as the rank number.
            Note
            Note When more than one enabled version matches a discovery procedure, choose the version with the highest rank. For example, if two enabled versions have rank values set to 1 and 2, choose the version with rank 2.
          8. Click Element Details icon, select Include in Output, and save your pricing procedure.
          9. Save your changes.
          10. Simulate your procedure to verify the queried data.
          11. On the Input tab, enter your values and click Simulate again.
          12. Activate your discovery procedure.
           
          Loading
          Salesforce Help | Article