Chapter 5. Custom Activities

This Chapter will cover:

  • Creating an activity by inheriting the root activity
  • Creating a FileWriter activity
  • Creating a SendEmail activity
  • Creating an Input Message activity using Bookmark
  • Creating an Asynchronous HTTP Get activity
  • Creating a Composite activity
  • Creating an Activity Designer for the SendEmail activity
  • Creating an Activity Designer for the MySequence activity

Introduction

Activity is the essence of workflow; even the workflow itself is an Activity. WF4 provides some build-in activities that can be used directly in the workflow designer panel. But many times, we need to create our own activities—for example, an activity that can send e-mail to inform someone about finishing a task or any other important thing. ...

Get Microsoft Windows Workflow Foundation 4.0 Cookbook 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.