SECTION #1. Activity Libraries

For our first foray into custom activities we will examine how to reuse a set of commonly used existing activities as an activity library. The ActivityLibrary example illustrates how to build such a component as a composition of already existing activities. Activity Library components also use some of the same features that custom activities do.

The PolicyServices project in the solution represents a Local Service that is used by the activity library. It consists of an interface IInsurancePolicyServices and an implementation class InsurancePolicyServices. These are defined in the file InsuranceServices.cs.

image

The PolicyWorkflow ...

Get Building Applications with Windows Workflow Foundation: Extended Workflow Example 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.