Workflow with two receive activities and correlation

柔情痞子 提交于 2019-12-25 02:22:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!