Scenario: Working with Workflows
Applies To: System Center Service Manager 2010
Workflows enable management packs to execute custom code when objects in the management group reach a specific state. Workflows are defined within .dll binaries but are referenced through the management pack. This gives you a powerful way of creating the logic features of your management pack. Workflows inside the management pack are the actions of a subscription object. When the criteria defined in the subscription matches a defined state, the workflow will be invoked.
The criteria object types you can use are located in the Microsoft.EnterpriseManagement.Subscriptions namespace and are classes that inherit from SubscriptionTypeBase. The action object types you can use are also located in the Microsoft.EnterpriseManagement.Subscriptions namespace and are classes that inherit from WorkflowSubscriptionBase.
In This Section
- How to Create a Subscription
Describes how to create a subscription with a criteria and action.
- How to Reference a Workflow
Describes how to reference a workflow .dll binary from a subscription.