<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Business Rule Engine (BRE) Blog by Sreedhar Pelluru, Senior Programmer Writer : Walkthroughs/Samples</title><link>http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx</link><description>Tags: Walkthroughs/Samples</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Sample: Deploying Business Rules Programmatically </title><link>http://blogs.msdn.com/biztalkbre/archive/2007/02/16/sample-deploying-business-rules-programmatically.aspx</link><pubDate>Sat, 17 Feb 2007 00:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1691506</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/1691506.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=1691506</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 3pt 0in"&gt;The Rule Engine Deployment Wizard, which ships with BizTalk Server&amp;nbsp;2006, provides a graphical user interface to perform the following operations:&lt;/P&gt;
&lt;P class=BulletedList1 style="MARGIN: 3pt 0in 3pt 0.25in; tab-stops: .25in; mso-list: none"&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;·&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;Import a policy from a Business Rule Language (BRL) file into the Rule Engine database, and publish the policy&lt;/P&gt;
&lt;P class=BulletedList1 style="MARGIN: 3pt 0in 3pt 0.25in; tab-stops: .25in; mso-list: none"&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;·&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;Export a policy from the Rule Engine database to a BRL file &lt;/P&gt;
&lt;P class=BulletedList1 style="MARGIN: 3pt 0in 3pt 0.25in; tab-stops: .25in; mso-list: none"&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;·&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;Deploy a published policy&lt;/P&gt;
&lt;P class=BulletedList1 style="MARGIN: 3pt 0in 3pt 0.25in; tab-stops: .25in; mso-list: none"&gt;&lt;SPAN style="FONT-FAMILY: Symbol"&gt;·&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;Undeploy a deployed policy&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 12.0pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;One of the disadvantages of this wizard is that you can perform only one operation at a time. For example, if you need to export two policies, you need to launch the wizard twice. This wizard is also not scriptable and hence cannot be used to easily automate the operations that it supports. For example, you cannot automate the wizard easily from a setup program to automatically import and deploy one or more policies. The DeployRules sample fills this gap, allowing administrators to import, export, deploy, undeploy, and remove policies in a scriptable manner.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 12.0pt; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Download the attachment, and review the ReadME.doc first. &lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1691506" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/1691506.ashx" length="66604" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>Sample: Analyzing Objects of the Same Type in a Business Rule             </title><link>http://blogs.msdn.com/biztalkbre/archive/2007/02/16/sample-analyzing-objects-of-the-same-type-in-a-business-rule.aspx</link><pubDate>Fri, 16 Feb 2007 23:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1691422</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/1691422.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=1691422</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 3pt 0in"&gt;In many scenarios, you will write a business rule against a type and expect the rule engine to separately analyze and act upon each instance of the type that is asserted into the engine. For example, if you write a rule against a .NET type and assert three .NET objects of that type into the rule engine working memory, the rule engine performs match-conflict resolution-action phases on each .NET object separately. In some scenarios, however, you will want to analyze multiple instances of a given type simultaneously in a rule. This sample demonstrates how to analyze multiple instances of a type in a business rule.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 3pt 0in"&gt;(Download the attachment, and then go through the readme.doc first)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1691422" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/1691422.ashx" length="51604" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>BRE Walkthroughs</title><link>http://blogs.msdn.com/biztalkbre/archive/2006/11/09/bre-walkthroughs.aspx</link><pubDate>Thu, 09 Nov 2006 04:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1041940</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/1041940.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=1041940</wfw:commentRss><description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I added the following walkthroughs to BizTalk Server documentation recently. Please download the latest documentation from: &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=3294DDAF-9F67-409F-A92D-2F6070DC0D1A&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=3294DDAF-9F67-409F-A92D-2F6070DC0D1A&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=3294DDAF-9F67-409F-A92D-2F6070DC0D1A&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Walkthrough: Creating a Simple Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Testing the Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Invoking the Policy from an Orchestration&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Creating and Using a Vocabulary in the Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Adding a Rule to the Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Modifying the Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Tracking Policy Execution&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Deploying the Policy&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Executing the Policy Programmatically&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Creating a Fact Creator&lt;/LI&gt;
&lt;LI&gt;Walkthrough: Using Database and .NET facts (You will see this one in the next update, not in this one). &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;As always, any feedback is welcome and appreciated. After you open the BizTalk Server documentation CHM file, navigate to Microsoft BizTalk Server 2006 Help\Development\Developing BizTalk Server Applications\Creating and Using Business Rules\Business Rules Framework Walkthroughs. &lt;/P&gt;
&lt;P&gt;Regards,&lt;BR&gt;Sreedhar&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1041940" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>Walkthrough: Testing a Simple Policy</title><link>http://blogs.msdn.com/biztalkbre/archive/2006/09/15/756657.aspx</link><pubDate>Sat, 16 Sep 2006 01:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:756657</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/756657.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=756657</wfw:commentRss><description>&lt;P&gt;&lt;STRONG&gt;Attached: &lt;/STRONG&gt;Testing a Simple Policy.zip file contains&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Word document for "Testing a Simple Policy" walkthrough&lt;/LI&gt;
&lt;LI&gt;SamplePO.xml&lt;/LI&gt;
&lt;LI&gt;SamplePO2.xml&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=756657" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/756657.ashx" length="269115" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>Walkthrough: Creating a Simple Policy (level 200) </title><link>http://blogs.msdn.com/biztalkbre/archive/2006/09/15/756654.aspx</link><pubDate>Sat, 16 Sep 2006 01:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:756654</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/756654.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=756654</wfw:commentRss><description>&lt;P&gt;&lt;STRONG&gt;Attached: &lt;/STRONG&gt;Creating a Simple Policy.zip file contains&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Word document for "Creating a Simple Policy" walkthrough&lt;/LI&gt;
&lt;LI&gt;PurchaseOrder.xsd schema&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=756654" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/756654.ashx" length="283606" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>How to invoke a policy from another policy? (Policy Chaining)</title><link>http://blogs.msdn.com/biztalkbre/archive/2006/08/31/734296.aspx</link><pubDate>Fri, 01 Sep 2006 01:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:734296</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/734296.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=734296</wfw:commentRss><description>&lt;A style="FONT-WEIGHT: bold" href="http://download.microsoft.com/download/b/1/d/b1d9ddf9-88c6-4d4e-abea-4787fdc85bec/PolicyChaining.exe"&gt;Policy Chaining&lt;/A&gt;&lt;BR&gt;&lt;SPAN style="COLOR: #000000"&gt;This sample demonstrates how to invoke a policy from another policy by calling the Execute method of the Policy class exposed directly by the Microsoft.RuleEngine assembly.&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=734296" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/734296.ashx" length="156992" type="application/octet-stream" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item><item><title>How to Insert XML Nodes from a Business Rule? - XMLHelper class</title><link>http://blogs.msdn.com/biztalkbre/archive/2006/08/31/734291.aspx</link><pubDate>Fri, 01 Sep 2006 01:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:734291</guid><dc:creator>spelluru@microsoft.com</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/biztalkbre/comments/734291.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalkbre/commentrss.aspx?PostID=734291</wfw:commentRss><description>&lt;A style="FONT-WEIGHT: bold" href="http://download.microsoft.com/download/b/1/d/b1d9ddf9-88c6-4d4e-abea-4787fdc85bec/insertxmlnode.exe"&gt;Inserting XML Nodes from Business Rules&lt;/A&gt;&lt;BR&gt;&lt;SPAN style="COLOR: #000000"&gt;This sample demonstrates how to insert nodes into an XML document and set their values from a business rule by using the XmlHelper class.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=734291" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/biztalkbre/attachment/734291.ashx" length="144704" type="application/octet-stream" /><category domain="http://blogs.msdn.com/biztalkbre/archive/tags/Walkthroughs_2F00_Samples/default.aspx">Walkthroughs/Samples</category></item></channel></rss>