Business Rules Engine
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Business Rules Engine




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Business Rules Engine  
wazzy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-14-05 10:53 PM

I would like to try something rather different witht eh rules engine
and i was wondering if it can be done.
Basically what i am trying to do is have my rules engines run a generic
policy over the msg file and run some rules on it. As it goes through,
I would like it to be able to decide what other policies apply to this
msg. Basically, the message has fields and the values in those fields
determine which other policies should be run that are specific to it.

So here is the question, Can i have an action "CALL Rules" with another
policy?
or is there a way that i can somehow promote a value from the rules
engine that will determine what the next path will be in the
orchestration?
or is there a way to do a switch statement in the orchestration that
will be able to run the first policy then read the values from the file
and determine which path to take.

thanks in advance for your help.
My personal email  is aewassef@gmail.com if youd like to contact me






[ Post a follow-up to this message ]



    Re: Business Rules Engine  
esuyer@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-15-05 10:56 PM

Hi Wazzy,

I've done something similiar.  The way that I did this was to create a
policy list as a fact that I then passed into a particualr policy,
let's call it Enable Policies

i.e.

<policies>
<policy name="foo" enabled="false"/>
<policy name="bar" enabled="false"/>
</policies>

Enablie Policies would then determine which other policies should be
run, and set the enable attribute for these policies to true.

Then, I iterate through the policies list and execute the policies that
are now enabled.

Make sense?

HTH






[ Post a follow-up to this message ]



    Re: Business Rules Engine  
wazzy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-23-05 12:50 PM

It makes perfect sense, except for one part.

How do you actually call the enabled policy from within the policy. I
use the Call Rules shape from an orchestration with the policy name,
so, i would call the parent policy, and then from there, how do i
envoke the following policies.

Another question is can i add another node "on-the-fly"

ie
<policies>
<policy name="foo" enabled="false"/>
<policy name="bar" enabled="false"/>
<policy name="NEW" enabled="false"/> <---- This node would be added in
the action part of a rule.
</policies>

The reason i would lke to do this in the Rules engine is so I would not
have to go back to the xml and change it manually.
I have several stages in the process and i would like to pass that info
to the second stage "on-the-fly"

Thanks for the reply

Wazzy






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register