Parallel process issue
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 > Parallel process issue




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

    Parallel process issue  
culker


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


 
07-23-04 10: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 sen
t 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 re
quires 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 t
he 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





[ Post a follow-up to this message ]



    Re: Parallel process issue  
Matt Milner


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


 
07-23-04 10: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





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