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 AutomatonFor activities that do not implement the ICompensatableActivity interface, the Compensating and Compensated states are not applicable. |