Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Why use \"Following Correlation\" on a Send Shape?
- This topic has 3 replies, 1 voice, and was last updated 9 years, 2 months ago by
community-content.
-
AuthorPosts
-
-
January 23, 2006 at 5:56 PM #12706
Hi there.
You would pass Correlation Sets as parameters. When that happens, a correlation is initialized and you could just set your shapes to follow that correlation.
In order to do that, you go into Orchesration View and Right Click Parameters and Choose \”New Correlation Set Parameter\” and there you have it
Hope that helps
Gino-
January 23, 2006 at 10:57 PM #12707
Yup. Just to be clear, i was referring to the case where they didnt have an Initialize Correlation on any send/receive shapes and it still compiled. Mostlikely that correlationset was passed in as a paramter
Cheers
-
January 23, 2006 at 3:51 PM #12708
I have not needed to use much correlation at past clients, but current cliient uses it a lot!
I see one case where they send out 5 messages in a loop, then wait for 5 responses. To get around the limitation of not beign able to initialize correlation in the loop, they have one send before the loop which initializes correlation, then a send in a loop that loops 4 times using \”following correlation\”.
There was one orch. that compiled that used \”following orchestration\” instead of \”initialziing\” and it compiled, but I’m guessing it would cause a run-time error.
Other than the loop, why would you not always want to use \”initializing correlation\”?
Neal Walters
http://Biztalk-Training.com – Video/Demo Training
-
-
-
January 23, 2006 at 7:58 PM #12705
Here is another reason.
Using Follows on a Send Port will promote (i.e. make then routable) any values on the Following correlation set. If you do not use Follows, the values might still be in the message context but they will not be promoted (i.e. Promoted = false).
This article talks about it well: http://geekswithblogs.net/cyoung/articles/17364.aspx
Look at the 2nd to the last paragraph.I have used something like this when working with un-typed messages.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.