|
Create all cascading attribute rules for a scenario before using them.
|
Country
|
State
|
City
|
USA
|
Arizona
|
Avondale
|
Bisbee
|
||
Douglas
|
||
Colorado
|
Alamosa
|
|
Denver
|
||
Westminster
|
||
Florida
|
Atlantis
|
|
Jacksonville
|
||
Miami
|
||
Australia
|
New South Wales
|
Albury
|
Sydney
|
||
Wollongong
|
||
India
|
Gujarat
|
Ahmedabad
|
Rajkot
|
||
Surat
|
|
You must create rules that represent one level down the tree, because the Attribute Set Report is generated by looking at the intersection of all cascading attribute rules and constraints defined on the attributes involved in the attribute set. If these rules are not created, the report does not understand that certain values for State are constrained by certain values of Country.
For example: If the rule "If Country = USA, then State = Arizona, Colorado, Florida" is not created, the system thinks that all values of State are valid for all values of Country. This is true even though we have the rule: "If Country = USA, and if State = Arizona, then City = Avondale, Bisbee, Douglas" because this rule only specifies when the City values of "Avondale", "Bisbee" and “Douglas” are selectable. This rule does not specify when the "Arizona" value for State is selectable.
For more information, see Attribute Set Report.
|
|
Behavior on Edit Object UI:
Assume there are two rules defined:
• If Country = USA, and if State = Arizona, then City = Avondale, Bisbee, Douglas
• If Country = USA, and if State = Colorado, then City = Alamosa, Denver, Westminster
Assume there is an object already created where Country = USA, State = Arizona and City = Avondale; and you want to update values to Country = USA, State = Colorado and City =Denver
When you try to edit this object with Country = USA and State = Colorado, you will find that the City attribute will show Alamosa, Denver, Westminster and Avondale in the dropdown list. This is expected behavior, as the current value will always appear in the dropdown list. However, system will throw an error if you select Avondale, as it does not match the new rule. Here the value Avondale is only for viewing purpose.
|