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 Rules.
- The Business Rules Manager should be started and accessed by following the procedure below.
- Start the Dashboard Portal of WSO2 SP with one of the following commands:
- On Windows:
dashboard.bat --run
On Linux/Mac OS:
./dashboard.sh
- On Windows:
- Start a worker node with one of the following commands:
- On Windows:
worker.bat --run
On Linux/Mac OS:
./worker.sh
- On Windows:
Access the Business Rule Manager via one of the following URLs.
Protocol URL Format Example HTTP http://<SP_HOST>:<HTTP_PORT>/portal
http://0.0.0.0:9443/business-rules/
HTTPS https://<SP_HOST>:<HTTPS_PORT>/portal
https://0.0.0.0:9443/business-rules/
- Start the Dashboard Portal of WSO2 SP with one of the following commands:
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.
Deploying business rules
To deploy an existing business rule, follow the procedure below:
Deleting business rules
To delete an existing business rule, follow the procedure below: