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.

Note

How you architect your local communication service ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.