Skip to Content

Create a Revision of Your Project

test
0 %
Create a Revision of Your Project
Details

Create a Revision of Your Project

August 25, 2020
Created by
August 25, 2020
Create a revision of your project, which contains two different versions of your project with minor changes.

You will learn

  • The difference between a version and a revision
  • How to create different versions and revisions of your business rules project

Prerequisites

  • The project used in this tutorial is the Determine Equipment project. You can also use your own project to perform the tasks in this tutorial. To create the same project, use the group: Create Your First Business Rules Project

Versions are useful when you want to periodically release different versions of your project to the customer or add patch changes to the project. A revision is a group of versions. You can create up to ten different versions of your project under one or more revisions.

Each version of your project can have minor changes in technical or business logic. The project and its entities should be active for creating a version. When your project has a considerable number of changes when compared to the previous versions, you can create a new revision of your project.

The project that you are working on will always be in Draft state while the versioned projects will be in Revised Content state.


Step 1: Create a version of your project

Before you start making changes to the project, release the existing project as the first version of your project. This is to keep the base project content intact.

  1. In the Manage Rules Project application, select the DetermineEquipment01 project which you created using the previous tutorials.

    Select your project
  2. In the Details tab, choose Release Version.

    Release Version
  3. Provide the following project version and revision details, and then choose Release.

    Field Name Value
    Version 1.0.0
    Revision Revision2018
    Description Rules for determining the equipment for a new hire.
    Revision and Version details

You can view the project version 1.0.0 of revision Revision2018 as soon as you release the version as shown:

Release Version
Log on to answer question
Step 2: Edit and create a new version of your project

Edit your project by adding a new condition in the decision table rule. Release this project as version 1.0.1.

  1. Navigate to the Manage Projects screen and choose your project.

  2. Navigate to the Rules tab and then choose the rule DetermineEquipmentRules.

    Edit Rule
  3. Choose Edit

    Edit rule1
  4. Add the following row to the decision table and then choose Activate.

    Field Name Value
    Employee.countryofCompany = 'DEU'
    Employee.company = 'SAP_DEU'
    Employee.jobTitle MATCHES '.*'
    Employee.isFullTimeEmployee = true OR Employee.isFullTimeEmployee = false
    Currency DEM
    ProductID 203679
    Equipment Type Audio and Video
    Equipment Price 40.00
    Product Desc Lovely Sound 7.2
    DT row details
  5. Navigate to the Details tab of your project and then choose Release Version.

    Version 1.0.1

Ensure that your project and all its entities are active.

  1. Provide the following details in the Release Version: DetermineEquipment01 window:
    Field Name Value
    Version 1.0.1
    Revision Revision2018
    Description Rules for determining the equipment for a new hire - version 1.

    Then, choose Release.

    Release version 1.0.1

You can view the project version 1.0.1 of revision Revision2018 as soon as you release the version as shown:

Version 1.0.1
Log on to answer question
Step 3: View the versions of your project
  1. Navigate to the Manage Projects screen.

  2. Select your project and choose History.

    Version history

    The list of project versions is displayed as shown:

    Version history list
Up to how many versions of a project can you create?
×
Log on to answer question

Next Steps

Back to top