Build an Effectivity Expression
To build the effectivity expression, you select items in the effectivity selector then add them to the Effectivity Expression section. You can insert items one-by-one to build the expression linearly or you can insert a group of items, add operators as needed, then move the items into the positions that you want them in the effectivity expression.
-
Navigate to a page that contains an editable effectivity
expression. For example:
- Logical View page (in the Logical Structures tab) for a logical feature or model version
- Requirement page
Note: Many other pages also allow you to configure effectivity. -
To open the effectivity dialog box, do one of the following depending on
your app's available commands:
- On the toolbar, click to enable editing, click in the Effectivity cell for an item, then click .
- Click in the Effectivity cell for an item, then click .
The effectivity dialog box opens. -
In the Context section, select a context object. The
context associated with the parent node of the relationship is automatically
loaded.
For a logical feature or model version that does not have Configuration Contexts defined, you only see the Global context.
You can only use a single context object to define Variants and Options effectivity.
The selected objects are added to Context list. Depending on the context of the rule (configuring a logical feature, for example), the search limits you to only those types of objects valid for the situation. - If necessary, click Refinements to narrow the available criteria.
- If necessary, click Search Context to search for and select additional source objects needed for the expression.
-
In the effectivity types section, expand the effectivity type
you want to define. Only one type can be expanded at a time. A message displays
if you try to expand an effectivity type that is not supported for the current
context selection.
Effectivity Type Description Variants and Options If you use , you can set Feature Option effectivity. If you use Traceable Requirements Management, you can set effectivities on requirement structures based on features and options. Elements used to build the effectivity expression must be children of the model version. You must first set the criteria context for the parent model version.
If the context logical feature has design variants, you can select options to include in the effectivity expression.
Model Version You can create an effectivity expression based on model version revisions. A model with one or more model version revisions must exist. For model version effectivity, only the variant values and options allocated to the selected model version can be added to the effectivity expression. All variants and option groups associated with the model version can be added to the effectivity expression. You cannot use frozen model versions.
- For Variants and Options criteria, click Move Rightin the Actions column of an item to add it to the effectivity expression without having to select it.
- For any type of criteria, do one of the following:
- Select an item then use the buttons in the Effectivity Expression section to manage the items included in the effectivity expression and their order.
- Click to add a selected items to the Effectivity Expression section.
- Click to move the selected items up in the effectivity expression.
- Click to move the selected items down in the effectivity expression.
- Click to remove a selected item from the Effectivity Expression section.
Tips: You can also clear items in bulk. - You can press Ctrl then click to select multiple items in the expression, then click to remove all selected items at once.
- You can press Ctrl then click all selected items in the expression (deselecting them all), then click to clear the entire expression at once.
- Right-click the message that says "Right-click to add Variant value/Option," begin entering the name of the variant value or option in the field, then select the variant value or option from the list that match your entered characters.
- Select an item then use the buttons in the Effectivity Expression section to manage the items included in the effectivity expression and their order.
-
Use the operators in the
Effectivity Expression section to format the
effectivity expression:
- Click and to group items within the expression.
- Click or to build a Boolean expression. The active operator is highlighted in green. The default operator is unless you select a different one. The default operator will not be used when inserting the first item in the effectivity expression, when there is an open parentheses in the effectivity expression, or when the has been added to the effectivity expression.
Note: Not all operators can be used in all types of effectivity expressions. The operator is the only operator available for Milestone criteria.The Effectivity Expression section shows the effectivity for the current context only. The Completed Expression section shows all defined effectivities for all contexts. - Click Validate to verify that your effectivity expression is valid.
- Click Done when you have a complete, valid effectivity expression to save it.