Chapter 14 Quick Reference

To

Do This

Add new states to your state-based workflow

Drag as many copies of the State activity onto the visual workflow designer’s surface as you require. Remember it’s easier to wire the states together (using the SetState activity) with the states in place. However, this is not a requirement.

Receive events within your workflow’s states

Drag instances of EventDriven into your State activity, and assign event handlers to each event. EventDriven can accept only a single event, so you might need to drop multiple copies of the EventDriven activity into your State activity—one for each discrete event you need to accept.

Transition between states

Drag an instance of SetState activity into your state’s EventDriven activity or ...

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.