Managing projects in Business Central
Abstract
Preface
As a process administrator, you can use Business Central in Red Hat Process Automation Manager to import and revise existing projects.
Prerequisites
- Red Hat JBoss Enterprise Application Platform 7.1.0 is installed. For installation information, see the Red Hat JBoss EAP 7.1.0 Installation Guide.
- Red Hat Process Automation Manager is installed and configured with Process Server. For more information, see Installing and configuring Red Hat Process Automation Manager on Red Hat JBoss EAP 7.1.
-
Red Hat Process Automation Manager is running and you can log in to Business Central with the
process-adminrole. For more information, see Planning a Red Hat Process Automation Manager installation.
Chapter 1. Projects
Projects contain the business assets that you develop in Red Hat Process Automation Manager and are assigned to a space (for example, MyProject within MySpace). Projects also contain configuration files such as a Maven project object model file (pom.xml), which contains build, environment, and other information about the project, and a KIE module descriptor file (kmodule.xml), which contains the KIE Base and KIE Session configurations for the assets in the project.
Chapter 2. Modifying existing projects in Business Central
Business Central includes a number of sample projects that you can use to get familiar with the product and its features. The sample projects have been designed and created to demonstrate a variety of business scenarios. You can modify the sample projects to meet your specific business needs. For example, Red Hat Process Automation Manager 7.0 contains the Mortgage Process sample project, which consists of predefined data objects, guided decision tables, guided rules, forms, and a business process. You can edit the sample to refine your business process.
If none of the existing Business Central project samples align with your requirements, you can import a new project from a git repository. See Chapter 3, Importing projects from Git repositories.
2.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.
Procedure
Navigate to the Mortgage Process sample project to view the predefined assets.
- Log in to Business Central and click Menu → Design → Projects.
-
Click
in the upper-right corner of the screen and select Try Samples.
- Select Mortgage Process and click Ok. The Assets view of the project opens.
- Click on an asset that you want to modify. All of the assets can be edited to meet your project requirements.
Chapter 3. Importing projects from Git repositories
Git is a distributed version control system. It implements revisions as commit objects. When you save your changes to a repository, a new commit object in the Git repository is created.
Business Central uses Git to store project data, including assets such as rules and processes. When you create a project in Business Central, it is added to a Git repository that is connected to Business Central. If you have projects in Git repositories, you can import those projects into the Business Central Git repository through Business Central spaces.
Prerequisites
- Red Hat Process Automation Manager projects exist in an external Git repository.
- Credentials required for read access to that external Git repository are available.
Procedure
- In Business Central, click Menu → Design → Projects.
- Select or create the space into which you want to import the projects. The default space is mySpace.
-
Click
on the right side of the screen and select Import Project.
- In the Import Project window, enter the URL and credentials for the Git repository that contains the project that you want to import and click Import. The project is added to the Business Central Git repository and is available in the created or default space.
Chapter 4. Revising project versions
You can revise the version number of a project in Red Hat Process Automation Manager before you build and deploy a new instance of the project. Creating a new version of a project preserves the old version in case there is a problem with the new one and you need to revert back.
Prerequisites
The Process Server is deployed and connected to the Business Central.
Procedure
- Log in to Business Central and click Menu → Design → Projects.
- Click on the project you want to deploy, for example Mortgage Process.
Click Deploy.
- If there is no container with the project name, a container with default values is automatically created.
- If an older version of the project is already deployed, go to the project settings and change the project version. When finished, save the change and click Deploy. This will deploy a new version of the same project with the latest changes in place, alongside the older version(s).
-
To verify the deployment, click Menu → Manage → Process Definitions, and click
.
-
Click
in the Actions column and select Start to start a new instance of the process.
Appendix A. Versioning information
Documentation last updated on: Monday, October 1, 2018.
