问题
I've a workflow that has two receive activities in a pick activity. Whenever I get a request in the first request activity the workflow has to create a new instance while if the second receive activity get requests it should not create a new instance instead the messages should be routed to the already running instance (there should be an instance running already). How can I handle this?
回答1:
I did some blog posts about how to setup message correlation to do this. Check here for a good starting point.
来源:https://stackoverflow.com/questions/7039543/workflow-with-two-receive-activities-and-correlation