As an administrator, you can now vary the Catalog, Options, Attributes, Installed Products and Cart pages that an end user interacts with as well as the data and actions within those pages based on the end user profile and other business rules. This is made possible by introducing the concept of Flows. Flows are groups of pages that are assigned to each step in the CPQ process. Earlier the only option to set up the Visualforce pages was through custom settings.

You can now use Flow Settings to assign custom or out-of-the-box pages to each step and configure the fields and actions that are visible within each page. You can then create criteria that would determine the Flow which in turn determines the pages that are displayed when an end user clicks the Configure Products button. These flow settings once setup, override the Visualforce pages setup in custom settings.

To create flows using flow settings

  1. Do one of the following based on the user interface.
    • For Salesforce Lightning, click the App Launcher () icon and enter Config Settings in the search bar.
    • For Salesforce Classic, navigate to All Tabs () > Config Settings.
  2. Click Flow Settings.
  3. In the Name field, enter a name for the flow. For example: Sample Flow
  4. Type the Visualforce pages in the following fields. Hover the mouse over the information icon to see valid values for each field.
    FieldDescription
    Assets PageEnter the name of the VF page for displaying the Installed products or Assets. For example, Apttus_Config2__Cart.
    Cart PageEnter Apttus_Config2__Cart Visualforce page to access the new Cart page.

    If you want to view the cart with the new Grid UI, name the cart page as Apttus_Config2__Cart#cartgrid.

    Catalog PageEnter Apttus_Config2__Cart Visualforce page to access the new Catalog page.
    Options PageEnter Apttus_Config2__Cart Visualforce page to access the new Options page.
    Product Attribute Detail PageEnter Apttus_Config2__Cart Visualforce page to access the new Product Attributes page.
  5. Click Add. An entry is added to the list.

    Default - When there is no flow created, the system uses the Default flow.
    Custom Flow - In this example, Sample Flow is the custom flow created.
  6. Run the custom settings maintenance job to activate the changes. For more information see, Running Maintenance Jobs.
  7. Click Save.

Setting up the Configure Products Button

Use the flow you just created as a parameter to pass on for the Configure Products button. The parameter is saved for the Configure Products button. On the Quote or Proposal details page when you click the Configure Products button, all the pages appear as defined in the flow. 

You can either edit an existing configuration and add the parameter or you can create a new Configure Products button. To create a new button, see Custom Button.

To set up the configure products button to use the flow

  1. Do one of the following based on the user interface.
    • For Salesforce Lightning:
      • Navigate to Setup > Object Manager.
      • Scroll down to select the Quote/Proposal object and from the Fields & Relationships related list, select Configure Products.
    • For Salesforce Classic:
      • Navigate to Setup > App Setup > Create > Objects.
      • Scroll down to select the Quote/Proposal object and select Configure Products.
  2. Review the existing information and click Edit.

  3. Make the required changes and insert the flow name in the Formula Options field as below.

    IF ( LEN(Apttus_QPConfig__PriceListId__c ) > 0 , HYPERLINK("/apex/Apttus_QPConfig__ProposalConfiguration?id=" &Id+'&flow=Sample Flow', IMAGE("/resource/Apttus_QPConfig__Button_Configure", "Configure Products"),"_self"), NULL)where flow=<name of the flow you created>
    CODE
  4. Click Save.

Customizing the Columns and Actions for a flow

You can customize the display columns and actions for the flow you created. The default or system-provided flows cannot be customized.

All the Visualforce pages that you set up in the flow are displayed with the columns and actions set up in the config settings.

If you select Default flow, the system displays the columns and actions set up in the Default flow. Use the Load Default Settings button to override all the columns and action settings to out-of-the-box settings in the Default flow.

To customize the columns and actions for a flow

  1. Do one of the following based on the user interface.
    • For Salesforce Lightning, click the App Launcher () icon and enter Config Settings in the search bar.
    • For Salesforce Classic, navigate to All Tabs () > Config Settings.
  2. For setting up columns or actions or both for the custom flow, do one or more of the following:
    • For columns, click Display Column Settings.
    • For Actions, click Display Action Settings.
  3. Select a Display Type and from Flow, select the flow you created.
  4. Make the required changes in the table and click Save.