Shorthand notation for addressing parent
Sterling Configurator Visual Modeler allows you
to use shorthand notation for addressing parent elements in rules.
Use the '+' symbol to address parent elements, as shown below:
- '+.' addresses the parent element of the current element
- '++.' addresses the parent element two levels up from the current element
- '+++.' addresses the parent element three levels up from the current element, and so on...
You can use shorthand notation in the following fields when creating
and modifying rules:
- Location field when creating or modifying a rule fragment
- Assign To field when creating or modifying an assignment action
For example, you can use shorthand notation for the following model.
Model A -
|------- OC1
|------- OC2
| |------- OI1
| | |------- Property 1
| |
| |------- OI2
|
|------- OC3
| |------- OI3
| | |------- Property 2
| | |------- Rule 1
| |
| |------- OI4
|
|------- OC4In this example, 'Rule1' is attached to the OI3 option item. If you want 'Rule1' to access 'Property1' under the option item 'OI1', you can use '++.OC2.OI1.Property1'. The '++.' shorthand notation addresses Model A in the above expression. Figure 1 describes the shorthand notation used in this example.
