BRE Policy execution
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 > BRE Policy execution




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

    BRE Policy execution  
Jayendra


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


 
02-26-06 03:47 PM

My Policy is having couple of rules:

Rule 1: Should update Ename by taking ENO from xml file
Rule2:  Should use both ENO and Ename from Updated xml file after executing
rule1,to update the Salary field of xml file.

But Rule2  is executing by taking Orginal instance, not by using updated xml
file after Rule1 execution.
I hope it is taking same i/p instance for executing entire policy.

What i need to do,to use updated xml file for execution of rule2.

Hope you understand,Thanks.
-Jay






[ Post a follow-up to this message ]



    Re: BRE Policy execution  
Randal van Splunteren


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


 
02-26-06 03:47 PM

Hello Jayendra,

I think you should set a higher priority for rule1.
See properties window when rule 1 is active.

HTH,
Randal van Splunteren
http://biztalkia.blogspot.com

> My Policy is having couple of rules:
>
> Rule 1: Should update Ename by taking ENO from xml file
> Rule2:  Should use both ENO and Ename from Updated xml file after
> executing
> rule1,to update the Salary field of xml file.
> But Rule2  is executing by taking Orginal instance, not by using
> updated xml
> file after Rule1 execution.
> I hope it is taking same i/p instance for executing entire policy.
> What i need to do,to use updated xml file for execution of rule2.
>
> Hope you understand,Thanks.
> -Jay







[ Post a follow-up to this message ]



    Re: BRE Policy execution  
Jayendra


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


 
02-26-06 03:47 PM

Thanks Randal,
Still it is  not doing .Is there any otherway for commiting changes to file
after each rule execution.



"Randal van Splunteren" wrote:

> Hello Jayendra,
>
> I think you should set a higher priority for rule1.
> See properties window when rule 1 is active.
>
> HTH,
> Randal van Splunteren
> http://biztalkia.blogspot.com
> 
>
>
>





[ Post a follow-up to this message ]



    Re: BRE Policy execution  
Randal van Splunteren


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


 
02-26-06 03:47 PM

Hello Jayendra,

Can you please post the relevant part of the schema, the (relevant part of
the) xml instance and the two rules?

Thanks,
Randal van Splunteren
http://biztalkia.blogspot.com

[vbcol=seagreen]
> Thanks Randal,
> Still it is  not doing .Is there any otherway for commiting changes to
> file
> after each rule execution.
> "Randal van Splunteren" wrote:
> 







[ Post a follow-up to this message ]



    Re: BRE Policy execution  
Sandeep


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


 
02-26-06 03:47 PM

Hi Jay,

Are you using forward chaning in your rules? you have to set forward
chaning Explicitly for the forward chaning to function. This will solve
the issue.

You don't need to necessarily increase the priority of Rule 1.

Remeber you have to Update teh parent node of the field you are
updating in the Action.

Thanks,
Sandeep Kesiraju






[ Post a follow-up to this message ]



    Re: BRE Policy execution  
BTSWizard


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


 
02-26-06 03:47 PM

Hi Jay,

Something to remember.  According to Chris Date, and other experts, two
important ideas of rules are that they should 1) have no side-effects,
2) fire in any order.  That is pretty hard to do sometimes, but it's a
good goal.  It looks like from your original post that you are order
dependent.  So to make that work you need to make sure the priority of
the rules his highest for the one that you want to fire first, set it
to 100 to force it to fire first.

HTH,

Curt Peterson
v-cupete@microsoft.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:13 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