September 2010
Intermediate to advanced
272 pages
5h 16m
English
In the flowchart, we should use the FlowSwitch Activity instead of the Switch<T> activity, which we used in the previous task. In this task, we will create a flowchart workflow using the FlowSwitch<T> activity. This switch activity will operate on a string.
Create a new Workflow Console Application project and name the project as UsingFlowSwitchActivity.
Open Workflow1.xaml and author a workflow as shown in the following screenshot. Please note that when we drag the Flowswitch activity to the flowchart, we will be shown a dialog to choose the type. In this task, we have chosen String.
When we add the case links, please do not to add quotation marks ("") around ...