In this article, we will take a detailed look into the steps to create a new business rule using BizTalk360 Business Rules Composer. We will show how you can use the rich features of the composer to compose your complex business rules.

Please remember that the current version of BizTalk360 Business Rules Composer allows you to only use the predefined vocabularies, and the vocabularies that have been created using the BizTalk Business Rules Composer. You will not be able to use the XML Schemas, Databases, and .NET Classes to define your business rules. We will add these capabilities to the product in the upcoming releases.

Follow the steps as shown below to create a new business rule using the BizTalk360 Business Rules Editor.

  1. Log in to BizTalk360
  2. Expand the Rules section. Click Business Rules Composer from the drop down.
  3. Under the Policies Pane, click Add New Policy
  4. Give a name for your policy, say, PurchaseOrder
  5. One a policy is created, a new version is automatically created underneath the policy with the name 'Version: 1.0 Not Saved'. Select the version and click Add Rule.
  6. Give a name for your rule, say, PORule
  7. From the Vocabulary Pane, expand the functions and predicates to get the detailed list
    All the functions and predicates in the list are the same as what is available in the BizTalk Business Rules Composer. Also, you cannot create any vocabularies directly from BizTalk360. The current version of BizTalk360 supports creation of custom vocabularies only in the BizTalk Business Rules Composer.
  8. Drag the predicates towards the 'if'' block and functions towards the 'then' block to build your business rule. You can also use your custom vocabulary that you defined to create the business rule. In the below screenshot, we will be taking an example from one of the custom vocabularies that we created for this purpose.
  9. Once you have finished creating the business rule, follow the steps as shown in this article to save and publish the business rule (version). The last and final step would be to deploy the business rule (policy) to the production environment.

Click the sliders to go through the process.

biztalk360 business rules composer

business rules composer policies

business rules composer policy versions

business rules composer workbench

business rules composer vocabulary condition

business rules composer vocabulary expression

business rules composer request status

business rules composer request status string