Skip to Content

Set Up the Manage Rules Project Application

test
0 %
Set Up the Manage Rules Project Application
Details
// Explore More Tutorials

Set Up the Manage Rules Project Application

Access the Manage Rules Project application to author rules by deploying a multi-target application using SAP Web IDE Full-Stack.

You will learn

  • How to configure a multi-target application to access Manage Rules Project application

The Manage Rules Project application is web-based tool which is used to create projects where you can author and execute business rules. In this tutorial, you will learn how to access Manage Rules Project application by deploying a multi-target application in SAP Web-IDE Full Stack.


Step 1: Download multi-target application file
  1. Use the following link to access the MTA file from GitHub.

  2. Choose cf-businessruleseditor.zip.

    Download MTA file

The cf-businessruleseditor.zip is downloaded to your file system.

Log on to answer question
Step 2: Import MTA to SAP Web IDE
  1. Log on to SAP Cloud Platform Cockpit and choose Launch SAP Web IDE.

    Lauch Web IDE
  2. In SAP Web IDE Full-Stack, open the Development perspective.

    Development Perspective
  3. Right-click the Workspace root folder, then choose Import > File or Project.

    Import file or project
  4. In the Import dialog, browse for the businessruleseditor.zip file that you downloaded in your local system.

    Import dialog

    Upon browsing the file, the other fields automatically get updated.

  5. Choose OK.

    Click OK
  6. The MTA file is imported under the Workspace folder and the file structure is shown below. Ensure that have chosen Show Hidden Files to be able to view the file structure as shown.

    MTA folder structure
Log on to answer question
Step 3: Modify mta.yaml file

If you have created a service instance with the name other than businessrules, you need to perform the following procedure.

  1. Right-click the mta.yaml file and choose Open MTA Editor.

    Open MTA editor
  2. Under the Resources tab, add the name of your business rules service instance as shown:

    Resources
Log on to answer question
Step 4: Build and deploy project
  1. Right-click on the businessruleseditor project and choose Build > Build.

    Build command
  2. After the build completes, navigate to the mta_archives > businessruleseditor_0.0.1.mtar file. Right-click businessruleseditor_0.0.1.mtar and choose Deploy > Deploy to SAP Cloud Platform.

    Deploy
  3. Enter the API endpoint and log onto Cloud Foundry to fetch the environment details.

    CF login

    Choose Deploy.

    CF login
Log on to answer question
Step 5: Access Manage Rules Project Application

Open the job console at the end of the deployment process, and search for the application URL. It should appear in the console as follows:

Application "`<app name>_appRouter`" started and available at "`<application URL>`"
MRP link

You can bookmark this link for later use.

In SAP Web IDE Full-Stack, where do you find the link to Manage Rules Project application?
×

Next Steps

Back to top