page_type, languages, products, name, urlFragment, description, extendedZipContent
| page_type | languages | products | name | urlFragment | description | extendedZipContent | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sample |
|
|
Activity Controller Extensibility sample | activity-controller-extensibility | Demonstrates how to extend the Windows PowerShell Workflow activity controller. |
|
Activity controller extensibility sample
This sample demonstrates how to extend the Windows PowerShell Workflow activity controller.
The extended activity controller uses RunspacePool-based queuing on a local WinRM custom workflow endpoint. The sample includes the CustomWorkflowEndpointSetup.ps1 script that can be used to set up a custom workflow endpoint.
Sample Objectives
This sample demonstrates the following:
- How to extend the Windows PowerShell Workflow activity controller.
- How to create a custom workflow endpoint
Related topics
Operating system requirements
Client
Windows 8.1
Server
Windows Server 2012 R2
Build the sample
-
Start Microsoft Visual Studio and select File > Open > Project/Solution.
-
Go to the directory named for the sample, and double-click the Visual Studio Solution (.sln) file.
-
Press F7 or use Build > Build Solution to build the sample.
The ActivityControllerExtensibilitySample.exe file will be built in the \bin\Debug directory.
Run the sample
- Start Windows PowerShell as Administrator.
- Navigate to the folder containing the CustomWorkflowEndpointSetup.ps1 script.
- Run the CustomWorkflowEndpointSetup.ps1 script to create a custom endpoint.
- Navigate to the folder containing the sample binaries.
- Run ActivityControllerExtensibilitySample.exe.