Create an Expression Rule
- Select the Rules tab.
- From the page toolbar, select .
- Enter a title for the new expression rule.
- Optional:
Enter a description of the expression rule.
- Optional:
To select an image for the new expression rule, do one of the following:
Option | Actions |
---|
Drop image | Drop an image into the Image field. |
---|
Upload Image | - Click Upload Image.
- Browse to, then select the image.
- Click Open.
|
---|
-
To create the expression rule, do one of the following:
Option | Actions |
---|
Create a Single Expression Rule |
Click Create. |
Create Multiple Expression Rules |
Click Create another. Your expression rule is
created. The dialog box remains open so that you can create another expression
rule by changing the information. |
Edit an Expression Rule
- To view the expression rule editor, do one of the following:
- Double-click the expression rule.
- From the expression rule's context menu or Action menu, select .
- To view the content of the expression rule, do the following:
- From the page toolbar, click
View
Content to view the expression rule in the content pane.
- Click in
the preview pane to expand the expression rule editor to the full page.
-
Click Open
Variability to open the Model Version Variability
pane.
-
To specify the elements to be included in the expression rule, do one of the
following:
Option | Actions |
---|
Enter the expression elements |
- Click in the editor.
- Begin entering the title of the element to populate the list with only those
that contain the entered characters.
- From the list, select a variant, variant value, option, operator, or
statement.
|
Select the expression elements |
Click to
the right of the variant, variant value, or option in the Model Version
Variability pane to add it to the editor at the insertion point, or at
the end of the expression if there is no insertion point. |
- From the editor list, select the standard operators and statements to be included in the expression.
The following standard operators are available: The following statements are available:
- Verify the validity of the expression as you build it.
Note:
Any element in the expression that is not valid in that context is displayed in
red. Roll over the element for a message that explains why it is not valid. If you
select an option group instead of an individual option, the option group is marked as
invalid.
-
To remove a variant, variant value, option, operator, or statement from the
expression, select it, then click .
-
Click Save.
Resolve Conflicts with Other Rules
Any conflict between a cell's status and other rules is immediately
indicated by the Conflict with existing rules icon displayed in the
right side of the page below the identity card.
This means that the expression
rule conflicts with a matrix rule or another expression rule already defined for the model
version.
-
Click
Conflict with existing rules.
- To navigate to the conflicting rule, do one of the following:
Context | Actions |
---|
List Conflict Rules pane |
Double-click the tile of the conflicting rule. |
List Conflict Rules pane |
From the context menu of the conflicting rule, select
Open. |
Browser toolbar |
Click Back in the browser to return to the
Rules tab, then select the conflicting rule. |
Page breadcrumbs |
Click a link in the breadcrumbs at the top of the page. |
Note:
If you have unsaved changes in the current expression rule, you are
prompted to save them before navigating to the conflicting rule.
- Update the rule to remove the conflict with the rule you navigated from.
- Save the changes you made to resolve the conflict.
- Navigate back to the rule that you were defining by clicking Back in the browser or using the app's breadcrumbs at the top of the page.
- Click Save.
|