Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows

Very Sweet and Simple Sample of BRE

2.70/5 (5 votes)
23 Oct 2007CPOL 1   564  
Here I just set the Discount base on the Balance. To do this, I create BRE and implement that on my orchestration by using “Call Rules” shape.

Introduction

This is a very sweet and simple sample of BRE.

Here I just set the Discount base on the Balance. To do this, I create BRE and implement that on my orchestration by using "Call Rules" shape.

Screenshot - BRE.jpg

Background

How to create BRE:

  1. Open the Business Rule Composer by selecting Start -> Programs -> Microsoft BizTalk Server 2006 -> Business Rule Composer.
  2. Within the Policy Explorer, right-click the Policies node, and click Add New Policy.
  3. Give the policy a name.
  4. By default, version 1.0 of the policy is created. You may change the version number if you want by selecting the version, navigating to the Properties window, and setting the Version property.
  5. Add an optional description for the policy.
  6. Right-click the version, and choose Save.

Using the Code

  1. Import Policy by "HimBRE_Policy.xml"
  2. Set SNK file path
  3. Build & Deployed BTS App
  4. Import "Bindings.xml"

Orchestration

Screenshot - BRE_Orchestration.jpg

Policy Config on Orchestration

Screenshot - BRE_Policy_Config.jpg

Import BRE

Screenshot - ImportBRE.jpg

History

  • 23rd October, 2009: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)