Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

A very powerful activity was introduced in this hour: the EventHandlingScope. Its general usage was explored in the first section. The second section walked though how to use this activity in conjunction with the Replicator to create highly flexible workflows. These workflows benefit from the Replicator’s known abilities to configure a number of approvers when the workflow starts and to process in parallel or sequence while allowing for workflow-wide event handlers to trap and process events, such as to add an approver or cancel a workflow. A new capability of the Replicator to update its Replicator.CurrentChildData property was also used, which is changed when an event to add or delete approvers is trapped during workflow execution. Although you still have to create the distribution vehicle to reach the users—email, InfoPath forms, SharePoint tasks, or other—this workflow provides the underpinnings for many powerful approval-centric workflows. One feature you may want to add is another Replicator so that the number of approval levels can be specified per workflow as well. So far, all our samples process one level of approvals across all approvers. Finally, strongly typed activities were created and modeled on a workflow.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint