O'Reilly logo

Microsoft Windows Server AppFabric Cookbook by Hammad Rajjoub, Rick G. Garibay

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

Programmatically controlling persisted workflow instances

Along with Instance Query, Windows Server AppFabric also provides a default implementation of Instance Control Provider API for SQL Workflow Instance Store.

Instance Control commands are defined as a CommandType enumeration, as shown in the following code snippet:

public enum CommandType
{
Suspend,
Resume,
Terminate,
Cancel,
Delete,
}

Instance Control Provider provides an asynchronous and durable command execution mechanism. All the issued commands are stored in a command queue in an Instance Store. Workflow Management Service (WMS) owns the execution of these commands by picking them up from the Instance Store and executing them against the specified workflow instance, following the First-In-First-Out ...

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