title: BizTalk Business Rules Engine Pipeline Framework
body: <p>I have this XML message:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;ns0:PurchaseOrder xmlns:ns0="http://Samples.BreFramework.Schemas.Schema1"&gt;
    &lt;Header&gt;
      &lt;ReqID&gt;ReqID_0&lt;/ReqID&gt;
      &lt;Date&gt;Date_0&lt;/Date&gt;
    &lt;/Header&gt;
    &lt;Item&gt;
      &lt;Description&gt;Description_0&lt;/Description&gt;
      &lt;Quantity&gt;400&lt;/Quantity&gt;
      &lt;UnitPrice&gt;20&lt;/UnitPrice&gt;
    &lt;/Item&gt;
    &lt;Status&gt;Denied&lt;/Status&gt;
  &lt;/ns0:PurchaseOrder&gt;
  </code></pre>
  
  <p>I'm using a pipeline named PurchaseOrder_Receive with the following stages set:<img src="https://i.stack.imgur.com/KY0e7.png" alt="Decode Stage properties and default XML Disassembler"></p>
  
  <p>My policy is set like so: <img src="https://i.stack.imgur.com/kKTx7.png" alt="PurchaseOrderRules - Policy"></p>
  
  <p>All my ports are configured correctly, using the above pipeline in my ReceiveLocation. </p>
  
  <p>The Xml message I posted is the one being used as input, however, the output Xml message should contain a Status value of "Approved", but it remains as "Denied".</p>
  
  <p>Basically, the question here is, what am I doing wrong that prevents my policy from being used on the pipeline, keep in my mind that my policy's "If condition" is always true.</p>