SECTION #2. Custom Activities
The activities that ship with Windows Workflow Foundation are generic. To put your business logic into reusable workflow components you build a custom activity. Custom activities are constructed with the same technology as the generic activities that ship with WF. I will use two different examples of custom activities to illustrate the basic principles of building one. The first will be a Traffic Light simulation. The second will be a Travel Planner simulation. Neither of these examples is elaborate. They are designed to illustrate the principles of building activities without being distracted by the details of making the simulation more realistic.
Traffic Light
The Traffic Light example is divided into six steps. ...
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.