Datasheet
Chapter 1: Workfl ow Programming Principles
42
Before you click the Chapter1 link shown in Figure 1 - 10 , open another browser window or a new tab in
the existing browser window and navigate to the page that shows the SharePoint list whose name is
specified in the ListName property of our custom condition, which is Documents in this case. Now go
ahead and click the Chapter1 link to initiate an instance of the workflow.
Now return to the new browser window or new tab and change the value of the field whose name is
specified in the FieldName property of our custom condition in the list item whose ID is specified in the
ItemId property of our custom condition. Now, if you revisit the list item on which you initiated
the workflow instance, you should see a column named Chapter1 with the value of Completed
(see Figure 1 - 11 ), signaling that the workflow instance has completed.
Figure 1-11
Click the Completed link to navigate to the WrkStat.aspx page shown in Figure 1 - 12 . Here, the two
LogToHistoryListActivity child activities of our custom SequenceActivity activity are executed multiple
times.
c01.indd 42c01.indd 42 8/25/08 4:03:05 PM8/25/08 4:03:05 PM