In this article, we will take a look at the steps to save the business policy, publish, and deploy the policy to the production environment. In order to be able to perform the save/publish/deploy operations, you must have a business rule within a policy. Follow the steps as mentioned in this article to create a new business rule using BizTalk360 Business Rules Composer.


Saving and Publishing the Version of Business Rule

  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
  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, select the version (Version: 1.0 Not Saved). Click Save.
  10. You will notice that the version details gets changed as Version 1.0 Saved. Once a rule is saved, you will notice a next level of rule information being created with the same rule name suffixed by alphanumeric characters.
    You will still be able to edit the business rule by selecting the entry with the rule name alone. The second level entry of the rule information (with the suffix details) will be only read-only.
  11. Once the business rule version is saved, you will notice the Publish button getting activated. You can Publish a business rule once it has been saved.
  12. Click the Publish button to publish the business rule. You will notice the version details changes to Version 1.0 Published.
    Once you have published the rule, you will not be able to edit the business rule. If you need to make any changes, you need to either create a new version, or delete the existing rule.


Click the sliders to go through the process.


BizTalk360 Business Rule Composer

BizTalk360 Business Rule Composer purchase order

BizTalk360 Business Rule Composer policy version

BizTalk360 Business Rule Composer vocabulary expression

BizTalk360 Business Rule Composer workbench

BizTalk360 Business Rule Composer vocabulary versions

BizTalk360 Business Rule Composer request status

BizTalk360 Business Rule Composer request status string

BizTalk360 Business Rule Composer policy testing

BizTalk360 Business Rule Composer quick start

BizTalk360 Business Rule Composer policy version testing

BizTalk360 Business Rule Composer policies

publish BizTalk360 Business Rule Composer policy testing output

publishing BizTalk360 Business Rule Composer policy

new version policy of BizTalk360 Business Rule Composer


Deploying the Business Rule into Production

Follow the steps as shown below to deploy the business rule from the Business Rules Composer.

  1. Follow the steps exactly as shown above in the "Saving and Publishing the Version of Business Rule" section
  2. Once you have published the business rule, select the rule version and click Deploy
  3. Once the business rule has been deployed, you will notice the status of the rule version change to Version 1.0 Deployed
    Once you have deployed the rule, you will not be able to edit and/or delete the business rule. If you need to make any changes, you need to undeploy the rule version (to be able to delete) or create a new version of the business rule.
  4. To undeploy the rule version, click the Undeploy button. This button will be activated only when the rule is deployed into production.


Click the sliders to go through the process.


deploying business rule

deploying new policy version

new policy version deployed using BizTalk360 Business Rule Composer