This article describes the options available in the File menu window.
- New
-
Use the New option to create one of the following objects:
- Folder
- The Folder selection creates a new folder within the folder currently
selected in the browser. To create a new folder, complete the following steps:
- Select the folder, in the Rule Browser window in which to nest the new
folder.
- Click File > New > Folder from the main menu. A new folder appears
in the folder hierarchy in edit mode.
- Enter a folder name and press Enter.
- Rule
- The Rule selection creates a new rule within the folder that is
currently selected in the browser. To create a new rule, complete the following
steps:
- Select the folder, in the Rule Browser window, where you want to create
the new rule.
- Click File > New > Rule from the main menu.
- Use the following options, in the New Rule Properties window, to define
the rule. For more information on each of these tabs, see the associated help
file.
- General
- Use the General tab to enter general information about the rule.
For more information, click the New Rule properties window: General tab link
under Related reference.
- Implementation
- Use the Implementation tab to define the manner in which the rule
is implemented. For more information, click the New Rule properties window:
Implementation tab link under Related reference.
- Description
- Use the Description tab to define the purpose and intent of the
rule. For more information, click the New Rule properties window: Description
tab link under Related reference.
- Dependent Rules
- Use the Dependent Rules tab to specify the rules that the newly
created rule will depend upon. For more information, click the New Rule
properties window: Dependent Rules tab link under Related reference.
- Other
- Use the Other tab to establish precedence and enter information
that is relevant to you, but does not fit into any other category. For more
information, click the New Rule properties window: Other tab link under
Related reference.
Note: When you change the properties of a rule
and there are undefined mandatory fields, either give them a value or make
the rule unavailable for use. See "status" on the General tab for more information.
- Click OK to complete the creation of the rule.
- Rule Browser Window
- This selection opens a new Rule Browser window on your desktop and shows
the content of the currently selected folder.
- Import
-
Use the Import option to import rules that are defined in a file
and written in XML. The rules are imported into folders as specified within
the XML.
Importing rules
You can use the Rule Browser window
to import from an XML format. To import rules, complete the following steps:
- Click File > Import in the main menu.
- Specify the file, in the Import Rules window, that you want to import.
- Click OK. The rules are imported as specified within the XML.
For more information, see the
Import Rules window link under Related
reference.
- Export
-
Use the Export option to export a file in an XML format.
Exporting rules
You can export rules from the Rule
Browser or Search Results windows. To export rules, complete the following
steps:
- Click File > Export, in the main menu.
- Proceed as follows using the Export Rules Wizard:
- In the Select Rules to Export window, select the rule or rules that you
want to export and click Next.
- In the Change Effective Dates On Exported Rules window, alter the start
and end dates of the rule, if desired, and click Next.
- In the Select File For Rule Export window, choose a name and location
for the exported rule.
- Click Export to finish.
For more information on this Export Rules Wizard, see the
Select Rules
to Export window link under Related reference.
- Delete
-
Use the Delete option to delete the selected rule or rule folder.
If a rule folder is selected, all of the rules and subfolders the folder contains
also are deleted.
Deleting rules
You can delete rules from the Rule Browser
or Search Results windows. To delete rules, complete the following steps:
- Select the rules that you want to delete using the Rule Browser window.
- Click File > Delete from the main menu.
- Click Delete and then confirm the delete request.
Note: You cannot delete com/ibm/websphere/brb/BRB
CacheRule as this rule is needed by the Business Rule Beans run-time
environment.
Deleting a folder
To delete a folder, complete the
following steps:
- Select the folder you want to delete using the Rule Browser window.
- Click File > Delete in the main menu.
- Click Delete and then confirm the delete request.
Note: You cannot delete the root folder.
- Rename
-
Use the Rename option to rename the selected rule or rule folder.
Renaming a rule
You can rename rules from the Rule
Browser or Search Results windows. To rename a folder, complete the following
steps:
- Highlight the rule you want to rename.
- Click File >Rename from the main menu.
- Type a new name and press Enter. To cancel the name change while
it is still in progress, press Esc.
Renaming a folder
- Place the folder name in edit mode by doing any of the following:
- Right-click the folder and select Rename from the list.
- Highlight the folder and click File >Rename in the main menu.
- Click the folder name twice with a slight pause between each click.
- Type a new name and press Enter. To cancel the name change while
it is still in progress, press Esc.
Note: You cannot rename the root folder.
- Properties
-
Use the Properties option to modify the properties of the selected
rule or rule folder and then click OK.
Use the following tabs, in the Rule Properties window, to define
the rule. For more information on each of these tabs, see the associated help
file.
- General
- Use the General tab to enter general information about the rule.
For more information, click the Rule properties window: General tab link
under Related reference.
- Implementation
- Use the Implementation tab to define the manner in which the rule
is implemented. For more information, click the Rule properties window:
Implementation tab link under Related reference.
- Description
- Use the Description tab to define the purpose and intent of the
rule. For more information, click the Rule properties window: Description
tab link under Related reference.
- Dependent Rules
- Use the Dependent Rules tab to specify the rules that the newly
created rule will depend upon. For more information, click the Rule properties
window: Dependent Rules tab link under Related reference.
- Other
- Use the Other tab to establish precedence and enter information
that is relevant to you, but does not fit into any other category. For more
information, click the Rule properties window: Other tab link under
Related reference.
Note: When you change the properties of a rule
and there are undefined mandatory fields, either give the fields a value or
make the rule unavailable for use. See "status" on the Rule properties
window: General tab for more information.
- Validate
![[Version 5.0.2 and later]](../../../v502x.gif)
-
Use the Validate option to verify the correctness of the selected
rules or folder. A report is generated and displayed in system browser window.
Use the browser functionality to view, save, and print the results. The following
items are validated:
- Start and End dates
- Specifies a valid start date. The end date must be empty (never expires)
or be later than the start date.
- Java rule implementor name
- Specifies a valid and existing Java rule implementor name. The specified
class must implement the RuleImplementor interface.
- Dependent rules
- Verifies the existence of each specified dependent rule.
When this option is selected, the Validate Rules window displays. You must
specify a Java class path to validate rule implementor classes.
- Close
-
Use the Close option to terminate the application and close the
window.