Calling BRE policy in code from Orchestration Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Calling BRE policy in code from Orchestration This topic has 2 replies, 1 voice, and was last updated 9 years, 5 months ago by community-content. Viewing 1 reply thread Author Posts September 29, 2006 at 12:04 PM #15899 community-content 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 October 4, 2006 at 8:49 AM #15945 community-content What is the "NotificationEvent"? I take it that it's a TypedXmlDocument type, since that's what the BRE expects for XML facts … October 5, 2006 at 10:02 AM #15966 community-content I was passing the message in instead of a TypedXmlDocument. It is working now. Thanks Harold Author Posts Viewing 1 reply thread The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies. Log in / Register