We need to make sure we have finished the task of Printing collection items for us to be able to use the
CollectionPrinterActivity activity in this task.
Create a new Workflow Console Application and name it
We need to perform the following actions:
Workflow1.xamlfile that is created by default. Click the Imports button and type in
System.Collections.ObjectModelto import the
System.Collections.ObjectModelnamespace to this workflow.
Drag a Sequence activity to the workflow designer and then drag an
AddToCollectionactivity onto the Sequence activity. Next, drag the customized
CollectionPrinteractivity right below the
AddToCollection—the type is
String. Add a new