Business rule grid

Business rule grid is a table with business rules listed in it. It lets you to access all business rules in a project or diagram, lookup and create business rule.

Creating business rule grid

Select Business > Business rule Grid from the toolbar.

Open Business Rule Grid
Open Business Rule Grid

The overview of business rules grid

The business rules grid
The business rules grid
Button NameDescription

Configure Grid Click this button to reveal Name and Model Element. To hide them, click this button again.

Create business rule Create a new business rule.

Find To find a business rule by providing its name or documentation.

Open Rule Editor
Click this button to enter more details for business rule in Business Rule Editor.

Open Specification... To open the specification of business rule selected in grid.
  Export to Excel You can export business rules grid to an Excel file by clicking this button.
  Import to Excel You can import changes made externally in Excel file back to VP-UML to update the business rule grid. Only Excel exported from VP-UML can be imported.

Show View... To show the view(s) of business rule selected in grid.

Visualize... To visualize a business rule selected in grid.

Configure columns... Add/ remove property column(s) in Business Rule list.

Refresh To update the display on the Business Rule list.

Project To filter business rules by selecting the diagram(s) (or all diagrams) that contain the business rules.

Business Rule's name filter To filter business rules by name. The rubber on the right hand side is for clearing the filter content.

The fields in business rules grid

Creating business rule

  1. Click on  above the grid.
    Create a business rule in grid
    Create a business rule in grid
  2. To enter more details of business rule, right click on the new business rule and select Open Rule Editor from the pop-up menu.
    Open business rule editor
    Open business rule editor
    NOTE: The business rules created in business rules grid are automatically put under the business rules model. You may move to another model through dragging and dropping in Model Explorer.
  3. In Business Rule Editor, enter name and rule for the newly created business rule.
    Enter name and rule
    Enter name and rule

Creating fact

Highlight a word which you want to create it to be a fact and select Create Fact from the pop-up menu.

Create check as fact
Create check as fact

Creating term

Highlight a word which you want to create it to be a term and select Create Term from the pop-up menu.

Create changes as term
Create changes as term

Exporting and importing Excel

You can export business rules grid to an Excel file and import changes made externally in Excel file back to VP-UML to update the business rule grid. Only Excel exported from VP-UML can be imported.

  1. Click Export to Excel button.
    Export business rules grid to Excel
    Export business rules grid to Excel
  2. In the Export Excel dialog box, enter output path and then click Export button.
    Enter outupt path
    Enter outupt path
  3. After you have modified the business rules in Excel file, save the file.
  4. Click Import to Excel button.
    Import Excel file back to VP-UML
    Import Excel file back to VP-UML
  5. In the Import dialog box, select the directory you have stored the Excel file previously. Click OK button. The data on business rule grid is changed according to the imported Excel file.

 

Visualizing a business rule

You can form a diagram with business rule, or show it in an existing diagram by visualizing it in business rules grid. To visualize a business rule:

  1. Select the business rule to visualize.
    Select a business rule to visualize
    Select a business rule to visualize
  2. Click on  above the grid.
    Click Visualize...
    Click Visualize...
  3. If you want to visualize business rule in a new diagram, keep Create new diagram selected, select the type of diagram to create and specifying the diagram name.
    Name a new diagram
    Name a new diagram
    If you want to visualize business rule in an existing diagram, choose Show in existing diagram and select a diagram in the diagram list.
    Select an existing business rule diagram to visualize the business rule
    Select an existing business rule diagram to visualize the business rule
  4. If you choose Create new diagram in the above step, click Create button at the bottom of the dialog box. On the other hand, if you choose Show in existing diagram, click Show button.

Filtering business rules

By filtering business rules, business rules that do not match the required naming convention are filtered. To filter, enter the name of business rule, or part of its name at the top right of grid. You can make use of the asterisk (*) character to represent any character(s).

Filter business rule by name
Filter business rule by name

Finding business rule

To find out business rules that match specific naming/ alias/ label/ documentation pattern:

  1. Click  above the grid.
    Find a business rule
    Find a business rule
  2. In the Search Text text box, enter the text to search, check Name and/or Documentation to specifiy whether to search the names and/or documentation of business rules. Click Find button. As a result, the grid is updated to highlight the matched business rules.
    The matched business rules are highlighted
    The matched business rules are highlighted