For this to work you'll need:
 - a partner link for the receive activbity



On Tue, 15 Dec 2009 15:07:05 -0500, dawg <[email protected]> wrote:


Hi,

Here's what I'm trying to do:
In parallel to the whole execution flow of the process, I want to have
another receive activity that would be able to receive a message. Now the
match between the process to select and the message sent can be based on the
process id, so it is reasonable to assume that the sender has it. This is
the use case (or its vague version).

I thought I'd be able to implement that with correlation sets, but I'm not sure that's correct. The problem is that this callback message is not sent
from any of the partner links, and has no direct relation to any invoke
activity. So what I really want is that every other message that is directed
to this process will create a new instance, while this message will be
directed to the process which has this process id.

Assuming I created a property process Id, and created an alias to it from
the message part that matches the callback message, and defined and attached the correlation set to this callback receive activity. How do I initialise
the process id to match with? why do I have to attach the correlation set
(if I do) to all invoke/receive activities?

Perhaps correlation sets are not the right solution to my problem. In that
case, any other ideas?

Thanks,
Dawg


--
Greg Lucas

Reply via email to