Chapter 20. Policy

In this chapter, you'll use a PolicyActivity to determine whether a particular workflow activity needs to be reviewed. Here's the scenario: a workflow has some type of data entry activity, and you want to perform a quality control review of the output from that step. It might be a call center taking an order over the phone or a request placed from the Web or from a self-service kiosk. You don't want to review that step every time, however. You might want to review only those orders that exceed a certain value or when the operator who performed that step is being evaluated for some reason. Maybe you just want to check every tenth transaction.

What I've just listed are rules; a rule specifies the appropriate action to a defined ...

Get Beginning WF: Windows Workflow in .NET 4.0 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.