BizVR Tutorial - Gnorion/BizVR GitHub Wiki

BizVR Basic Tutorial - How to create your first decision model and decision table

This tutorial covers the basic mechanics of creating a decision model using the BizVR Decision Modeler. Other tutorials cover the methodologies that can be applied to decision modeling

Business Problem

Suppose your business needs to determine the price of toys using their color, size and shape. Let’s assume these are the business rules

  • R1: small, red toys cost $5
  • R2: large, square toys cost $10
  • R3: green, oval toys cost $15

Modeling the Decision in a Formal Editor

Let’s also assume that we want to automate these rules so they can be applied automatically when someone visits our web page and puts items in their cart. For this tutorial we will use the BizVR Decision Modeler (there are many other modeling tools available)

1. Click on this URL http://gnorion.com:3202/main and you should see this screen:

image

2. Enter your user id and password (or choose guest mode if you do not have one)

image

Once logged in you should see something similar to this.

image

  • The default partition will be DECISION TABLE SAMPLES
  • The folder named “Reference Examples” is a Workspace with some examples you can look at.
  • Inside workspaces you can create projects.
  • Inside projects you can create decisions.
  • Inside decisions you can create decision tables and ontology definitions.
  • Inside tables you can create individual rules
  • Rules will consist of conditions and actions

3. Select DECISION TABLE SAMPLES in the left column and then click on Space to create a new Workspace

image

4. Give your workspace a name.

This workspace belongs to your user account. No one else can see the content of your workspace.

image

6. It will show up like this

If you need to change any of the details, select the workspace and then click on the Space option at the top.

image

7. Select it and click Project

image

8. Name the project and save it

image

9 It will show up like this

image

10. Select the project and click Decision

Fill out the fields and click Create

image

Notice the items for Properties/Inputs/Outputs/Documentation and also the option to import models from external sources such as Excel and DMN. We’ll come back to that later.

Click Create. Now your screen should look like this:

image

11 Click on Table to create a decision table

image

The diagram will look lik this

image

12. Now click on this decision table to enter its details (you can also add more empty decision tables and give them names)

Initially you will see this screen

image

look for this symbol which allows you to add rows to the table image

13. Click to get into edit mode

image

14. Now enter color, size and shape as the three conditions and price as the single action and save the decision table

image

16. Now click the image symbol three times to add three rule columns

image

17. Now complete the table by filling in the rules. Don't forget to save it

image

Save to the decision diagram using this button:image Use this button to return to the main diagram image

DO NOT USE THE BROWSER BACK BUTTON SINCE THAT WILL LOG YOU OFF

You should now see this

You can see the reference example here

image

image

Congratulations!

Next step - Update the decision properties with formal input and output declarations