Chapter 11. Custom workflow activities and conditions

This chapter covers

  • Building custom leaf activities
  • Building custom composite activities
  • Publishing activities to SharePoint Designer
  • Coding custom conditions for SharePoint Designer

In the most fundamental sense, activities are object-oriented classes. In object-oriented programming, you would never have one class that does everything. Instead, you would have many classes that combine to make up an application. This approach applies to workflows and activities as well. You would never want a large, complex Visual Studio workflow to have, for example, 10,000 lines of code in its code view. It’s a better practice to extract discrete pieces of code into custom activities that are managed ...

Get SharePoint 2010 Workflows in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.