What are the different types of workflow in WF?
In WF 4.0, the following two types of workflows are used:
Flowchart workflows - Helps you to make workflows using the common flowchart elements. In WF, the Flowchart activity is generally used to execute a non-sequential workflow, and occasionally it implements sequential workflows in case the FlowDecision nodes are not used. The Flowchart activity having a collection of flow nodes, which inherit from the FlowNode class. The following types of nodes or elements can be a part of a flowchart:
a) FlowStep - Implements activities of a flowchart in a sequence.
b) FlowDecision - Shows the execution on the basis of a Boolean condition. It is same to the If construct.
c)FlowSwitch - Shows the implementation on the basis of an exclusive switch. It is similar to the Switch construct.
Procedural workflows - Helps you to make workflows using basic and sequential execution standards. In WF, procedural workflows use flow control constructs, like While, Switch, ForEach, and If, to execute activities. These flow control constructs are same to those found in procedural languages. Procedural workflows can also have other flow control activities, such as Flowchart and Sequence.