Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Business Rule Engine

1 view
Skip to first unread message

Siva

unread,
Aug 4, 2009, 5:18:01 PM8/4/09
to
Hi,

I am looking for a business Rule Engine samples/documents. I am trying to
find out how can I read Config XML file from business rule engine.

Task: I will get PO from back end system. If PO vendor number exists in the
config file(have vendor info) then I have to map the PO to vendor PO TYPE and
send it to vendor. If it doesnt exist in the config file then I have to
reject the PO(Send email notification) and terminate the Orchestration. Does
business Rule engine is good choice to do this? Is there any document explain
how to read xml file, compare values and do actions?

Thank you in advance,

Siva

Dan Rosanova

unread,
Aug 4, 2009, 6:00:46 PM8/4/09
to
I'm a little confused, what Config file? Like an App Config? BRE can
run .NET Assemblies or just use XML (which I prefer). Can you clarify
for me?
-Dan

Siva

unread,
Aug 5, 2009, 10:23:01 AM8/5/09
to
Dan,
Sorry for the unclear post. I have a xml config file. It has vendor related
info. Smillar to below
<Config>
<Vendor ID="12345">
<Name>IBM</Name>
<WareHouseInfo>
<WareHouse ID = "1">
<AddressInfo>
--------
</AddressInfo>
</WareHouse>
<WareHouse ID ="2">
-------------
<WareHouseInfo>
</Vendor>
<Vendor ID ="2345667">
---------------------------
</Config>

If the PO's Vendor ID exists in the config file then I need send the PO to
vendor after I map the warehouse info based the warehouse ID form PO.
Otherwise I have to stop processing/terminate orchestration and send email to
our sales rep.

I guess I can use BRE for this. If I can do, how to read xml file in BRE?
Any document or sample out there? I couldn't find any good one.


--
Thank you,

Siva

Dan Rosanova

unread,
Aug 6, 2009, 8:37:19 AM8/6/09
to
Well you can send the config file into the BRE as a parameter
basically or you can write your own operators for the BRE so instead
of using Equals you could write one like InConfigFile. For something
like this I would be much more likely to use SSO or a database to hold
this info, not so much BRE (although if the records are in a database
BRE can be used to read those too and cache for faster performance.

Kind Regards,
-Dan

Siva

unread,
Sep 28, 2009, 4:23:02 PM9/28/09
to
Thank you Dan,
I am trying to find out how can I use DB or SSO for this. I couldnt find any
good article or tutorial on net. Do you know any?

--
Thank you,

Siva

Dan Rosanova

unread,
Sep 30, 2009, 11:47:37 AM9/30/09
to
Check out Richard Seroter's solution here:
http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/

Kind Regards,
-Dan

0 new messages