Chapter 8. Creating the mortgage-process project

A project is a container for assets such as data objects, business processes, guided rules, decision tables, and forms. The project that you are creating is similar to the existing Mortgage_Process sample project in Business Central.

Procedure

  1. In Business Central, go to MenuDesignProjects.

    Red Hat Process Automation Manager provides a default space called MySpace, as shown in the following image. You can use the default space to create and test example projects.

    Figure 8.1. Default space

    spaces teams
  2. Click Add Project.
  3. Enter mortgage-process in the Name field.
  4. Click Configure Advanced Options and modify the GAV fields with the following values:

    • Group ID: com.myspace
    • Artifact ID: mortgage-process
    • Version: 1.0.0
  5. Click Add.

The Assets view of the project opens.

8.1. Modifying the Mortgage_Process sample project

The Mortgage_Process sample project consists of predefined data objects, guided decision tables, guided rules, forms, and a business process. Using the sample project provides a quick way to get acclimated with Red Hat Process Automation Manager. In a real business scenario, you would create all of the assets by providing data that is specific to your business requirements.

Navigate to the Mortgage_Process sample project to view the predefined assets.

Procedure

  1. In Business Central, go to MenuDesignProjects.
  2. In the upper-right corner of the screen, click the arrow next to Add Project and select Try Samples.
  3. Select Mortgage_Process and click Ok. The Assets view of the project opens.
  4. Click an asset that you want to modify. All of the assets can be edited to meet your project requirements.

8.2. Creating a project using archetypes

Archetypes are projects that are installed in Apache Maven repositories and contain a specific template structure. You can also generate parameterized versions of the project templates using archetypes. When you use an archetype to create a project, it is added to the Git repository that is connected to your Red Hat Process Automation Manager installation.

Prerequisites

  • You have created an archetype and added it to the Archetypes page in the Business Central Settings. For information about creating archetypes, see the Guide to Creating Archetypes.
  • You have set a default archetype in your space in Business Central.

For more information about archetypes management, see Configuring Business Central settings and properties.

Procedure

  1. In Business Central, go to MenuDesignProjects.
  2. Select or create the space into which you want to add a new project from an archetype template.
  3. Click Add Project.
  4. Type the project name and description in the Name and Description fields.
  5. Click Configure Advanced Options.
  6. Select the Based on template checkbox.
  7. Select the archetype from drop-down options if required. The default archetype is selected that is already set in the space.
  8. Click Add.

The Assets view of the project opens based on the selected archetype template.