[Applies to: Microsoft Dynamics CRM 4.0]
Microsoft Dynamics CRM 4.0 (on-premise)
You can create custom workflow activities in Microsoft Visual C# or Microsoft 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 run time 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 workflows and related Microsoft .NET Framework assemblies that are invoked by workflows are deployed and stored in the database. 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 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.
© 2010 Microsoft Corporation. All rights reserved.