A. Activity Automaton

In Chapters 3, “Activity Execution,” and 4, “Advanced Activity Execution,” we discussed the activity automaton that describes the execution lifecycle of activities within WF programs. The WF programming model presents a somewhat simplified view of this automaton by representing the full set of actual states using the two enumerations ActivityExecutionStatus and ActivityExecutionResult. For the sake of clarity, the full activity automaton as understood by the WF runtime is shown in Figure A.1.

Figure A.1. Activity Automaton

image

For activities that do not implement the ICompensatableActivity interface, the Compensating and Compensated ...

Get Essential Windows Workflow Foundation 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.