Here is the start of a workflow defined using only XAML.
<SequentialWorkflowActivity xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="MyWorkflow" > <WhileActivity> <CodeActivity /> </WhileActivity> </SequentialWorkflowActivity>
The root element is a
SequentialWorkflowActivity. WF provides the
StateMachineWorkflowActivity classes primarily to serve as root level activities. These classes manage the execution of their children using different styles. The
SequentialWorkflowActivity serially executes its children until the last activity completes. The order of activities inside a sequential workflow is important, as the order will ...