Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

download

Auto Split on Accept

You can automate the order split on acceptance using one of the following criteria.

  • Splitting the order on accepting using Global criteria: This splits the order on Quote acceptance, Agreement activation, or order acceptance based on the global criteria defined in the Order System Properties.
  • Splitting the order on accepting using the selected workflow level criteria: This split the specific order on Quote acceptance, Agreement activation, or Order acceptance based on the selection of order lines defined in the order workflow rule criteria.

Splitting the order on accepting using global criteria

To split the order using global criteria:

Note:
  • When creating an Order Workflow Ruleset, ensure that Record Updated is chosen as a Trigger Event.
  • If the Order Workflow Rule Entry is not defined, the split order action is performed based on the Global criteria defined in the Custom settings > Order System Properties.

Usecase: Using Global criteria

Description: This use case describes how to create a Workflow Ruleset to handle the split order using global criteria.

A large manufacturing company that sells hardware and software products. Its backend process is handled in different fulfillment systems for the product lines. Sales representative quotes for 10 hardware items and 5 software items for one enterprise in a single quote. But, expecting to generate two individual orders for each Line of Business for fulfillment.

Creating the Order Workflow Ruleset

To create the Order Workflow Ruleset:

  1. Click All Tabs (+) > Order Workflow Rulesets > New (in Salesforce Lightning, go to App Launcher > Order Workflow Rulesets > New).
    The New Order Workflow Ruleset page is displayed.
  2. Enter "Split Rule" as the Ruleset Name.
  3. Click the Type drop-down and select API Execution.
  4. Enter "1" for the Sequence.
  5. From the Business Context Type drop-down, select Order.
  6. Click the Trigger Context Type drop-down and select Order.
  7. Add the Order Updated Trigger Event(s) from the Available box to the Chosen box.
  8. Select the Active checkbox.
  9. Click Save.
    The ruleset is created.

To create the Order Workflow Rule:

  1. Click New Order Workflow Rule from the Order Workflow Ruleset page.
    The New Order Workflow Rule page is displayed.
  2. Enter "1" for the Sequence.
  3. Click the Action drop-down and select Split Order.
  4. Enter "Split order on accepting using <criteria name>" in the Description field.
  5. Click the lookup icon and select the Split Rule ruleset you created in the first task.
  6. Click Save.
  7. Go to Order custom settings, go to Setup > Custom Settings > Order System Properties, and enter Line_of_Business__c in the Split Order Criteria fields.

    Refer to the following screens for the sample setup for the given use case.





The above setup triggers the parent order first and then splits into two new child orders. The parent order remains empty.

Use Case: Splitting an order using the selected workflow level criteria

A large Hitech company sells perpetual licenses, software, and professional services. Their professional services deliverables are managed using a PSA tool. Sales representative quotes for 100 different licenses, 10 software, 3 professional services offerings in a single quote. On quote acceptance, the expectation is that the professional service items should carve out as a separate order for integration with the PSA system.

To create the Order Workflow Ruleset:

  1. Click All Tabs (+) > Order Workflow Rulesets > New (in Salesforce Lightning, go to App Launcher > Order Workflow Rulesets > New).
    The New Order Workflow Ruleset page is displayed.
  2. Enter "Split Rule" as the Ruleset Name.
  3. Click the Type drop-down and select API Execution.
  4. Enter "1" for the Sequence.
  5. From the Business Context Type drop-down, select Order.
  6. Click the Trigger Context Type drop-down and select Order.
  7. Select the Active checkbox.
  8. Click Save.
    The ruleset is created.

To create the Order Workflow Rule:

  1. Click New Order Workflow Rule from the Order Workflow Ruleset page.
    The New Order Workflow Rule page is displayed.
  2. Enter "1" for the Sequence.
  3. Click the Action drop-down and select Split Order.
  4. Enter "Split order on accepting using select workflow level criteria" in the Description field.
  5. Click the lookup icon and select the Split Rule ruleset you created in the first task.
  6. Click Save.

To create the Order Workflow Rule Entry and define criteria:

  1. Click New Order Workflow Rule Entry from the Order Workflow Rule page.
    The New Order Workflow Rule Entry page is displayed.
  2. Enter "1" for the Sequence value.
  3. Click the Context Type drop-down and select Order Line Item.
  4. Click Save.
  5. From the Order Workflow Rule Entry page, click Item Criteria.
    The Order Workflow Rule Entry Edit page for Criteria Edit is displayed.
  6. Click Edit.
    The Criteria Edit page is displayed.
  7. Click the Field drop-down and select Type of Product.
  8. Click the Operator drop-down and select equal to.
  9. Click the Map To drop-down and select None.
  10. Click the Value drop-down and select Professional Service.
  11. Click OK to save the Item Criteria and return to the Order Workflow Rule Entry page.

    Refer to the following screens for the sample setup for the given use case.





  • The "Split Rule" Order Workflow Ruleset is created.

  • The corresponding rule and rule entry is created. Criteria and inputs are specified to create a child order with professional service products. The license and software lines remain on the parent order.