Calling BRE policy in code from Orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Calling BRE policy in code from Orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #15899

      We are using the code below in an expression shape to call a BRE policy. We are not getting the expected results in the XML message. The policy works if we use the Call Rule shape.

      Policy = new Microsoft.RuleEngine.Policy("CBSEAI_TE");

      Policy.Execute(NotificationEvent);

      Policy.Dispose();

       Any ideas

       Thanks in advance

      Harold

       

    • #15945

      What is the "NotificationEvent"?  I take it that it's a TypedXmlDocument type, since that's what the BRE expects for XML facts …

      • #15966

        I was passing the message in instead of a TypedXmlDocument.

        It is working now.

        Thanks

        Harold 

         

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.