|
Home > Archive > BizTalk Server Orchestration > July 2004 > Parallel process issue
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Parallel process issue
|
|
| culker 2004-07-23, 5:50 pm |
| Here is what I'm trying to achieve...
I have a list of recipients. I'll need to send a messaage to each and wait for their approval or rejection. The catch is that the message cannot be sent in a serial fashion. In other words I cannot send a message to a recipient, wait for the approval/rej
ection, and move on to the next recipient, and so on so forth. the message needs to be sent to all at the same time. Approval for the whole process requires the approval of all recipients where the rejection from one just ends the whole thing. Since we
need to send the message to all, if one of them gets rejected, the rest of the long running messages needs to be dropped/killed etc.
The problem is that we don't know the number of recipients before we run our orchestration (for it is embedded in the message we receive).
Is there any way to accomplish this?
Thanks for your help.
C
----------------------------------------------
sent via http://www.biztalkug.com
all about BizTalk
| |
| Matt Milner 2004-07-23, 5:50 pm |
| How about this:
Send a single email message to all users. Set the "to" address with all
addresses or use the "cc" field. Keep track of how many responses you are
expecting.
Now, setup a looping receive (a serial convoy essentially) where you loop
until you have received the number of messages you are expecting.
to accomodate the rejection message, you can have a receive for that and
then terminate or exit your orchestration rather than going on to process
the responses.
Matt
"culker" <can_ulker@hotmail.com> wrote in message
news:e5f159d998154059b54d1b01a0bba7b4@bi
ztalkug...
> Here is what I'm trying to achieve...
>
> I have a list of recipients. I'll need to send a messaage to each and
wait for their approval or rejection. The catch is that the message cannot
be sent in a serial fashion. In other words I cannot send a message to a
recipient, wait for the approval/rejection, and move on to the next
recipient, and so on so forth. the message needs to be sent to all at the
same time. Approval for the whole process requires the approval of all
recipients where the rejection from one just ends the whole thing. Since we
need to send the message to all, if one of them gets rejected, the rest of
the long running messages needs to be dropped/killed etc.
>
>
> The problem is that we don't know the number of recipients before we run
our orchestration (for it is embedded in the message we receive).
>
> Is there any way to accomplish this?
>
> Thanks for your help.
>
> C
>
>
> ----------------------------------------------
> sent via http://www.biztalkug.com
> all about BizTalk
|
|
|
|
|