views:

9

answers:

0

I have a workflow that at some point contains a parallel activity with two external event handler activities in each parallel branch.
Both HandleExternalEvent activities wait for the same event on the local service.
I would like to execute only one of them based on parameter that comes from the local service. So far only the first branch executes and the second one doesn't receive the fired event at all.
I have put both HandleExternalEvent activities in while loops so they will wait until the 'go forward' condition is satisfied, but due to the behaviour of the workflow runtime the second one never get the event.
I am using .Net 3.5.

How can I pump the event to both wait activities?