Creating Rules

To define a rule, you can enter multiple values for a single condition. The system displays a search page so that you can select multiple values and add to the rule. Use the following steps to create a rule.

Steps

To create rules:

  1. Navigate to the Create Rule page.

    Navigation: Contract Terms Library > Contract Expert > Rule tab > Create Rule button

  2. Select the operating unit for the rule.

  3. Select one of the following rule types:

    For more information about the rule types, see the Contract Expert - Overview section.

  4. Enter a unique name for the rule to identify the rule.

  5. Enter a description explaining the nature and purpose of the rule.

  6. Select the intent for the rule: Buy or Sell.

  7. Review the Status field, which is a read-only field.

    Contract Expert supports the following statuses for a rule:

  8. To add a condition, click the Add Another Row button.

  9. Select the Match All or Match Any condition option.

    If the conditions must all be true to select the results, select the Match All radio button. Select the Match Any radio button if any condition can be true to select the results.

  10. In the Type field, select one of the following condition types:

    Note: You can use both system and user-defined variables to define Contract Expert rules.

    For more information about Variables, see Managing Variables.

  11. Select a name in the Name field: the available options are based on the condition type that you selected in the Type field:

  12. Select an operator in the Operator field. Operators provide the logic in defining a condition, for instance, Payment terms IS Net 30.

    To create a rule, Oracle Contracts supports the following operators:

  13. Depending on the Type and other options, you must select one or more values in either the Value or Update Values field. For example:

    Note: If you select multiple values in a condition, the system displays "Multiple values" in the Value field. Click the Show/Hide icon in the Details field to view all the value selections.

  14. Click the Remove icon if you want to delete a condition from a rule.

  15. Use the Results region to define the results if the defined conditions are met. The Results region is available only for Clause Creation rules.

    In the Results region, you can select clauses that must be brought in and ask the user additional questions on a business document.

  16. In the Results - Clauses region, click the Add Clauses button to add another Result row to the rule.

    The Results - Clauses Table displays the Clause Title and Description for the clauses that you have chosen.

  17. In the Results - Clauses Table, you can access the following:

  18. Use the Question Table of the Results region to select one or more additional questions that should be asked at run time if the conditions are met.

    Note: This is one of the steps that is required to set up dependencies between questions. For more details, see Creating Dependencies Between Questions.

    The Question table includes:

  19. Use the Contract Template Assignments region to assign the rule to one, many, or all contract templates. You can assign contract templates in Draft or Approved status to a rule. Only contract templates that are Contract Expert-enabled and belong to the same intent as the rule will be available to be assigned to the rule.

    Note: Even though you can assign templates in any status to a rule, because only approved templates can be used to author business documents, the rules are effective only when applied to approved templates.

  20. Select one of the following options: