Loading
Feature degradation | Gmail Email delivery failureRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          Create a Pricing Rules Flow

          Create a Pricing Rules Flow

          To use a pricing matrix, you must create a pricing rules workflow, or flow.

          1. From Setup, in the Quick Find box, enter Flow.
          2. Click Flows.
          3. Click New Flow.
          4. Add a custom action.
            1. Scroll down to Apex.
            2. Drag vlocity_cmt__CustomAction onto the flow.
            3. Enter the following information:
              • Name is the flow name, in this example, Pricing Initialization.

              • On the Inputs tab, from the Target picklist, select className.

              • In the Source box, enter PricingInitialization.

            4. Click OK.
            5. Click Set As Start Element.
            Set As Start Element
          5. Add a rule action.
            1. From the Apex section, drag vlocity_cmt__RuleAction onto the flow.
            2. Enter the following information:
              • Name is the rule action name, in this example, Quantity Order Pricing.

              • From the Target picklist, select ruleName.

              • In the Source box, enter the rule name, in this example Quantity Order Pricing.

              • Click Add Row.

              • From the Target picklist, select ruleType.

              • In the Source box, enter Pricing.

              • Click Add Row.

              • From the Target picklist, select doCommit.

              • In the Source box, enter {!$GlobalConstant.True}.

            3. Click OK.
          6. Connect the custom action and the rule action.
            Custom Action
          7. Click Save.
          8. In the Flow Properties dialog box, enter the Name, in this example, Pricing Rules Flow.
          9. Click OK.
           
          Loading
          Salesforce Help | Article