Biztalk - possible to create rule/policy programmatically?

走远了吗. 提交于 2019-12-04 14:08:37

I think I found a partial answer at least. I found a sample using the Rule API, but I don't know yet if you can directly edit the Biztalk policies via this same library.

There is a sample in the Biztalk SDK Samples folder (C:\Program Files\Microsoft BizTalk Server 2009\SDK\Samples\Business Rules) using the Microsoft.RuleEngine to create a rule, then persist it to an XML file (using the Business Rules Language (BRL) schema).

I believe I have seen other samples showing how to import that XML file into Biztalk, so at least it looks possible as a two-step process. I'll update if I discover otherwise, for better or worse.

I'm puzzled as to why I don't see this task discussed anywhere on the interwebs. Either Biztalk is very unpopular or people just aren't using the BRE very much.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!