65.9K
CodeProject is changing. Read more.
Home

Very Sweet and Simple Sample of BRE

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.70/5 (5 votes)

Oct 24, 2007

CPOL
viewsIcon

54123

downloadIcon

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