Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This section covers how to view, edit, deploy and delete business rules that are created from a template.

Prerequisites

In order to manage business rules, the following prerequisites must be completed:

  • One or more business rules must be already created. For instructions to create a rule, see Creating Business Rules.
  • The Business Rules Manager should be started and accessed by following the procedure below.
    1. Start the Dashboard Portal of WSO2 SP with one of the following commands:
      • On Windows:  dashboard.bat --run
      • On Linux/Mac OS:  ./dashboard.sh

    2. Start a worker node with one of the following commands:
      • On Windows:  worker.bat --run
      • On Linux/Mac OS:  ./worker.sh

    3. Access the Business Rule Manager via one of the following URLs.

      ProtocolURL FormatExample
      HTTPhttp://<SP_HOST>:<HTTP_PORT>/portalhttp://0.0.0.0:9443/business-rules/
      HTTPShttps://<SP_HOST>:<HTTPS_PORT>/portalhttps://0.0.0.0:9443/business-rules/

Viewing business rules

Once you start and access the Business Rules Manager, the available business rules are displayed as shown in the example below.

To view a business rule, click the icon for viewing (marked in the above image) for the relevant row. This opens the rule as shown in the example below.

Editing business rules

Once you start and access the Business Rules Manager, the available business rules are displayed as shown in the example below.

To edit a business rule, click the icon for editing (marked in the above image) for the relevant row. This opens the rule as shown in the example below.

Modify values for the parameters displayed as required and click Save.

Deploying business rules

To deploy a business rule, click the icon for deploying (marked in the image below) for the relevant row. As a result, a message appears to inform you that the rule is successfully deployed.


If the rule is already deployed, the icon for undeploying the rule is displayed instead of the icon for deploying.

Undeploying business rules

To undeploy a business rule, click the icon for undeploying (marked in the image below) for the relevant row. As a result, a message appears to inform you that the rule is successfully undeployed.

If the rule is not yet deployed, the icon for deploying the rule is displayed instead of the icon for undeploying.

Viewing deployment information

If you want to view information relating to the deployment of a business rule, click the icon for viewing deployment information (marked in the image below) for the relevant row. 

Deleting business rules

To delete a business rule, click the icon for deleting (marked in the image below) for the relevant row. A message appears to confirm whether you want to proceed with the deletion. Click Delete in the message. As a result, another message appears to inform you that the rule is successfully deleted.


  • No labels