BAM - Related Activities
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 Tools > BAM - Related Activities




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

    BAM - Related Activities  
BTSStudent


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


 
02-14-06 10:51 PM

Hi,

I have an orchestration that contains a couple of loops. This
orchestration is generic in that it is called multiple time for the
same activity (creating and order as well as updating that order) I am
trying to deploy a tracking profile for this.
As a first try I want to track a shape outside of the main loop and a
shape within the main loop.
I have defined 2 activities (a parent and a child).
Then, I established the relationship between them by matching the
Activity ID (order id) under the parent activity folder with the
relationship folder under the child activity folder.
Also renamed the Activity ID under the relationship folder to be called
the same as the activity id name under the parent activity folder.
When the TP is deployed, I have a situation where records are in the
"completed "table as well as "active" table for the same order id.

The orchestration instance is invoked twice per each order, once for
create and the second time for update.

I expected the same record in the "active" table to be updated through
the whole transaction.

Please advise.
Venkat.






[ Post a follow-up to this message ]



    RE: BAM - Related Activities  
Keith Lim


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


 
02-18-06 03:51 AM

Hi Venkat,

The result based on your setup is expected.  The easiest way is retify your
issue to separate this into two orchestrations: one for initial processing
and the next for update.
Once you have got the simpler setup working, you can try the more difficult
ones.


If you really want to use the same orchestration for creation and update,
by calling it twice, you would need some logic in the orchestration to
control the flow.   And to ensure that there is no duplicate of same
activity records, you would need to start this activity in the port
(receive pipeline) and resume it to the orchestration and then it can call
itself again for update.

Please let me know if this helps.

Thanks,
Keith Lim [MSFT]





--------------------[vbcol=seagreen] 
22:12:30 GMT)[vbcol=seagreen] 
CLR 1.1. 4322),gzip(gfe),gzip(gfe)[vbcol=seagreen
] 
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!
news-out.readnews.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-f
or-mail[vbcol=seagreen] 

Thanks,
Keith Lim [MSFT]
My BizTalk BAM Blog: http://blogs.msdn.com/keithlim/default.aspx
--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note:  For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:10 AM.      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