General Configuration Rule Elements

Overview

A configuration rule is comprised of a condition and an action. The condition is always evaluated first. if the condition is evaluated to be true (meaning it is met), then the rule is fired (meaning an action will take place).

Each rule begins with a basic template of 3 sections: Properties, Condition, and Action.

ClosedProperties

This section is where you will enter basic details about the rule. For example, the name, status and where it will be applied.

Configuration Rule Basic Details


ClosedCondition

Configuration rule Condition section

The condition section allows you to select the logic that specifies when a rule should run. There are three options: Always True, Simple Condition and Advanced Condition.

ClosedConfiguration Context Attribute

Beginning in Oracle CPQ 24B the Config Operation Context (_config_operation_context) configuration system attribute can be used to identify the operation that initiated the current Configuration session. This read only system attribute will reflect unique values for new configurations, reconfigurations, search flows, and ABO Modify actions.

The Config Operation Context system attribute is available for use in all Configuration Rule type conditions and in BML advanced conditions and/or actions. For example, when a Config Operation Context attribute is selected in a simple condition, the possible values (new, reconfigure, modify_asset, and search_flow) can be selected in the Values drop-down.

Config Context Attributes

The Config Operations Context attribute can be used in Configuration Rules to allow Administrators to better manage the configuration experience if necessary. For example, if an administrator would like to define a rule that should only execute for a new configuration, or resulting from a modify asset action, they can use this new attribute to control execution.


ClosedAction

The Action section is where you select what will happen if the condition is met. This is also where you will select where you'd like to apply the rule to; Configuration, Selection or Both. If you are creating a Recommendation or Constraint rule, this is also where you will select if you'd like to select action attributes by clicking Add Attributes or by a Table Lookup.

Configuration rule Action section

Rule Type

Action Description
Bill of Materials No action attributes are defined. The action will be a BOM string that is returned to an ERP.
BOM Mapping Define the Target BOM and Target Commerce Process.
Pricing No action attributes are defined. The action will be the price that is returned.
Hiding Define which attributes will be hidden.
Recommendation Define which attribute(s) will have it's value(s) set or modified.
Constraint Define which attribute(s) will have value(s) constrained or allowed.
Recommended Items No action attributes defined. The action will return mandatory or optional part numbers and quantities.

ClosedConfiguration Rules Default Row Grouping to "1"


Notes

Bill of Materials, Pricing, and Recommended Item rules do not require the users to choose Action Attributes. For these rules, the users must specify the action only.Combine configuration rules as much as possible. Separate rules are harder to maintain.

When relevant, add comments to explain why specific design decisions were made.

Keep rules on the same level, making them easier to maintain and debug.

Rules can only be deleted at the level of the hierarchy in which they were created.
Deleted Rules cannot be recovered.

Related Topics

Related Topics Link IconSee Also