O'Reilly logo

SharePoint 2010 Workflows in Action by Phil Wicklund

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required