Compensation - when is it called?
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 Orchestration > Compensation - when is it called?




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

    Compensation - when is it called?  
TheNortonZ


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


 
10-18-04 10:48 PM

I have two long running transactions (A (for an Insert)) and (B( for an
Update) inside of a single long running transaction.

I have placed a compensation on transaction A that does a delete operation
for the previously inserted record. For some reason, I get the insert just
fine and then it falls right into the compensation and executes a delete.

I thought that the compensation would not be called unless the Update failed
and the primary transaction rolled back the changes. It looks like it runs
every time. Is this correct?

Norton







[ Post a follow-up to this message ]



    Re: Compensation - when is it called?  
TheNortonZ


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


 
10-20-04 01:47 AM

Finally figured out everything was being called in the right order.

My orchestration was jumping to transaction B and back so fast I couldn't
see what it was doing. I eventually had to add an expression shape in the
middle with a breakpoint just so I could catch it while debugging the
orchestration.

Norton
"TheNortonZ" <thenortonz@hotmail.com> wrote in message
news:eCncAdWtEHA.2800@tk2msftngp13.phx.gbl...
>I have two long running transactions (A (for an Insert)) and (B( for an
>Update) inside of a single long running transaction.
>
> I have placed a compensation on transaction A that does a delete operation
> for the previously inserted record. For some reason, I get the insert just
> fine and then it falls right into the compensation and executes a delete.
>
> I thought that the compensation would not be called unless the Update
> failed and the primary transaction rolled back the changes. It looks like
> it runs every time. Is this correct?
>
> Norton
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





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