In this article, we will take a deep dive into each section of the Business Rule Composer and explain them in detail for clear understanding of the feature. The following images show the different controls that are available for users in the business rules composer. Click the sliders to view the controls and read the description provided below for each control (depicted in alphabetical series order).
Policies Pane - Lists the already created policies and the controls to create the new policy/version/rule, edit & delete policy/version/rule, save, publish, deploy, and undeploy the business rules
- Add New Policy - Creates a New Policy. You will be provided with an option to enter a custom name for the policy. A default Version 1.0 is automatically created when you create a new policy.
- Add New Version - Creates a New Version to the existing Policy
- Add Rule - Click on the Version to be able to add a new rule. A default Rule0 is created. You will be provided with an option to enter a custom name for the rule.
- Save - Once you have finished creating the rule, click the Version. You will see a Save button to save the version & associated rule(s).
- Publish - Click Publish to publish the specific version of the business rule
- Deploy - Click Deploy to deploy the business rule to the Rules Database
- Undeploy - Click Undeploy to undeploy any deployed rule from the Rules Database and make changes
- Delete - Click to delete the entire version of the business rule from the rules database. You also have an option to delete the business rule alone while keeping the version details intact. We will be discussing these functionalities in detail in the Business Rules Composer Operations section.
- Policy Testing - As discussed previously, the Help pane on the right side turns into a Policy Testing screen when you click on the policy name. We recommend you to read this article to know more about the steps involved in testing a policy.
Rules Workbench - The work area to design your business rules. You will notice the different operators (Add, Or. Not) as well as additional statements such as if, else, else if. You can start building your business rule by simply dragging the vocabularies (functions and predicates) into the appropriate condition (if/then) in the rules workbench.The "if, else, else if" statements are additional offering in the BizTalk360 Business Rules Composer that is not available in the standard BizTalk Rules Composer tool.
Vocabulary Pane - Lists the already created vocabularies, predefined functions and predicates that are available in the BizTalk Business Rules ComposerThe current version of Business Rules Composer only supports pre-created vocabularies. You must use the BizTalk Business Rules Composer to create the vocabularies in order to use them in BizTalk360.
- Help/Policy Testing/Rules Creation Pane - On initial load of BizTalk360 Business Rules Composer, you will notice the Help pane containing information about how to use the BizTalk360 Business Rules Composer feature. While creating a new version (of a policy), this pane will contain the Policy Testing information. Similarly, while creating a new business rule, this pane will become the rules creation pane with the rules workbench.
- Refresh - To refresh the information in the Business Rules Composer page
We recommend you to read the following articles to understand the feature better.