...
- To start the dashboard profile of WSO2 SP, issue one of the following commands from the
<SP_HOME>/bin
directory.For Windows:
dashboard.bat
For Linux:
sh dashboard.sh
Now start the worker profile of WSO2 SP, issue one of the following commands from the
<SP_HOME>/bin
directory. This is needed when saving and deploying a business rule.For Windows:
worker.bat
For Linux:
sh worker.sh
- You can access the Business Rules dashboard via the following URL.
https://localhost:9643/business-rules
Then login by specifying
admin
as both the username and the password.Info This step uses the default URL and credentials. If the dashboard user store is changed, use a valid credential and ensure that the user has valid permisions for adding and deleting workers. For more information, see User Management.
- The business rules deployed in WSO2 SP by default are displayed as follows when you access the Business Rules dashboard.
To create a new rule that can be used for KPI analysis, let's
click the + icon.click CREATE.
Info If previously defined business rules exist, they are displayed as shown in the example below. You can click + to add a new business rule.
- The following view opens when you click CREATE. You can observe that a business rule can be created from a business template or from scratch. You have already created and saved a business rules template. Therefore, let's click From Template to create a rule from it.
- When you click From Template the
Sweet Production Factory
template that you previously created and saved is displayed as follows.
To create a rule from this template, let's click on this template. It opens as follows.
- In the Rule Template field, you can select the KPI Analysis rule template.
- You can enter values in the rule template that opens as shown below.
Click Save and Deploy to proceed. As a result, the following log is displayed in the worker console.