This sample demonstrates how to define and use a custom CodeActivity as part of the Workflow Manager 1.0.
This sample requires the Workflow Tools 1.0 for Visual Studio 2012. Please download and install these tools from:
Please also see the UsingWorkflowTools.docx document which provides additional information on how to configure the Workflow Tools.
To run the sample:
1. Open the
solution in Visual Studio
2. In program.cs
replace baseAddress property with a fully qualified name of your Workflow Manager endpoint
3. Build the
solution
4. Copy HashActivity.dll
to C:\Program Files\Workflow Manager\1.0\Workflow\WFWebRoot\bin
5. Copy HashActivity.dll
to C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts
6. Copy AllowedTypes.xml
to C:\Program Files\Workflow Manager\1.0\Workflow\WFWebRoot\bin
7. Copy AllowedTypes.xml
to C:\Program Files\Workflow Manager\1.0\Workflow\Artifacts
8. Stop Workflow
Manager Backend service
9. Start Workflow
Manager Backend service
10. Start debugging
(F5) or Start Without Debugging (Ctrl+F5)
Description
Workflow Manager 1.0 builds on the continuum of hosting options that the .NET framework provides today with WorkflowApplication and WorkflowServiceHost, to provide a new, managed host for executing and managing workflows. The cloud provides a great opportunity for us to provide an "always on" environment for running, monitoring and managing workflows. With a cloud offering, organizations can focus more of their energies on the design of the workflow logic itself - and integration with their applications - instead of spending time on building infrastructure. Workflow Manager 1.0 will take care of many of the challenges customers have today in managing their workflow artifacts, building out their hosting environment, configuring it for scale and high availability, managing a farm of machines running their applications, and so on. The service also provides new capabilities for SaaS ISVs to provide user extensibility to their applications in an efficient, secure, multi-tenant way.
For more information on Workflow Manager 1.0, please see http://msdn.microsoft.com/en-us/library/jj193528(v=azure.10)