This documentation is archived and is not being maintained.

Workflow Authoring Types

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

A workflow definition contains one or more activities that take part in the execution of the workflow. Microsoft Dynamics CRM supports the following authoring type for workflows: custom workflow activities.

Custom Workflow Activities

You can create custom workflow activities in Visual C# or Visual Basic .NET code by creating an assembly that contains a class derived from one of the Windows Workflow Foundation activities. This assembly is annotated with .NET attributes to provide the metadata that Microsoft Dynamics CRM uses at runtime to link your code to the workflow engine. After you have created an assembly that contains one or more workflow activities, you register this assembly with Microsoft Dynamics CRM. This process is the same as the process that is used to register a plug-in. The custom workflow activity can then be incorporated into a workflow by using the Workflow Designer found in the Microsoft Dynamics CRM Web application.

This approach has significant performance and feature advantages. Custom workflow activities are supported only in Microsoft Dynamics CRM 4.0, not in Microsoft Dynamics CRM Online. Custom workflow activities must be built with Microsoft Visual Studio 2005 and .NET 3.0, or Visual Studio 2008 and .NET 3.5.

This SDK includes a registration tool to improve developer productivity. For more information about the tool sample code, see Sample Code. For a walkthrough, see Build the Plug-in Registration Tool and Registering a Plug-in using the Plug-in Developer Tool.

For more information about .NET attributes, see "Extending Metadata Using Attributes" at http://go.microsoft.com/fwlink/?LinkID=121495.

See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show: