CONTENTS
Control Flow Activities........................................................................................................................ 1057
Flowchart Activities ............................................................................................................................ 1058
Messaging Activities........................................................................................................................... 1058
The State Machine Activities .............................................................................................................. 1059
The Runtime and Primitives Activities................................................................................................ 1059
The Transaction Activities .................................................................................................................. 1060
The Collection and Error Handling Activities ...................................................................................... 1060
Building a Flowchart Workflow....................................................................................1061
Connecting Activities in a Flowchart .................................................................................................. 1062
Working with the InvokeMethod Activity ............................................................................................ 1063
Defining Workflow-Wide Variables ..................................................................................................... 1064
Working with the FlowDecision Activity ............................................................................................. 1065
Working with the TerminateWorkflow Activity ................................................................................... 1066
Building the “True” Condition............................................................................................................. 1067
Working with the ForEach Activity............................................................................................... 1067
Completing the Application ................................................................................................................ 1070
Reflecting on What We Have Done ..................................................................................................... 1071
Building a Sequence Workflow (in a Dedicated DLL)...................................................1073
Defining the Initial Project .................................................................................................................. 1073
Importing Assemblies and Namespaces ............................................................................................ 1074
Defining the Workflow Arguments...................................................................................................... 1075
Defining Workflow Variables .............................................................................................................. 1076
Working with the Assign Activity........................................................................................................ 1077
Working with the If and Switch Activities........................................................................................... 1078
Building a Custom Code Activity......................................................................................................... 1081
Consuming the Workflow Library ................................................................................1084
Retrieving the Workflow Output Argument......................................................................................... 1085
Summary .....................................................................................................................1086
xl