Building Correlated Workflows

When it comes right down to it, in this chapter I’ve introduced the concept of correlation and mentioned only three attributes. Is this all there is to it?

In a word, yes. However, our local service grows a bit more complex because we must account for different data flows. Remember, the local communication service is a singleton service in the workflow runtime, so all data requests to the various workflow instances are made through this one local communication service. By necessity, that service has to keep track of the known workflow instances and correlation parameters so that when the host requests data from a given workflow, the service returns the correct data.


How you architect your local communication service ...

Get Microsoft® Windows® Workflow Foundation Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.