Siebel Product Administration Guide > Siebel Configurator Rule Assembly Language >
Creating Constraints Using the Advanced Constraint Template
The Advanced Constraint template is similar to the Assisted Advanced Constraint Template. You can create constraints using Rule Assembly Language with either template. The Advanced Constraint template does not provide a dialog box for picking products, resources, or links. It also does not provide a list of operators. The Advanced Constraint Template is intended primarily for upgrade users who want to edit the rules in models created in release 6.x. You must manually enter the path to items when using this template. Table 27 provides examples of paths. When you create a constraint and save it using this template, the Constraints view displays the constraint syntax in the Constraint field. The Constraints view capitalizes the first letter of operator names in the constraint for display purposes only. Operator names are case-sensitive, and the Constraints view stores them in the correct, format.
Table 27. Examples of Paths
|
|
@.[Relationship A]([Product SubClass]) |
All the products in SubClass in Relationship A. |
@.[Relationship A]([Product 1]).[Color] |
The color attribute of all the instances of Product 1 in Relationship A. |
@.[Relationship A].[Color] |
The Color attribute of all the products in Relationship 1. |
$.[Resource 1] |
Resource 1. |
$.[Link 1] |
Link 1. |
Observe the following guidelines when writing paths:
To create a constraint using the Advanced Constraint Template
- Navigate to the Administration - Product screen.
- Select and lock the desired customizable product or product class.
- Navigate to the Constraints view for the Work Space version.
- Click New Constraint.
The Pick a Constraint list appears.
- In the Pick a Constraint list, select the Advanced Rule template, and click Continue.
The Rule Statement and "Insert a" tabs appear.
- Select operators and arguments from the displayed lists to build a constraint.
The operators list contains all the operators in the Rule Assembly Language. The arguments list changes depending on the operator you select and contains all the items in the customizable product. Use the Compound Field button to create sub-expressions.
- Click Save Constraint to save the constraint.
The Save Rule form appears.
- Fill out the fields in the Save Constraint form, and then click Save. Some fields are described in the following table.
|
|
Name |
Enter a name for the constraint. You must use names that help you to locate the constraint using the Find button. For example, consider including the constraint type (excludes, requires and so on) in the constraint name, so you can search the Name field to find groups of constraints having the same constraint type, for example, all the exclude constraints. |
Explanation |
Enter an explanation of how the constraint works. You must enter explanations that help you to locate the constraint using the Find button. For example, consider including information that uniquely identifies the constraint, such as item names, so you can search the Name and Explanation fields to find a specific constraint. |
Rule Statement |
Displays the rule statement that you built. |
Start Date |
Optionally, specify a start date on which the constraint becomes effective. |
End Date |
Optionally, specify an end date after which a constraint becomes inactive. |
Active |
Select this checkbox to activate the constraint, so it is used to compute solutions. Use this feature in the current work space to simulate the behavior of constraints that will have a start date, end date, or both when you release the product. You can also use this feature to deactivate a constraint but retain it in a released version of the product. |
- From the Constraints List menu, select Validate.
This starts a configuration session. Verify that the new rule works correctly.
|