Add System Role Activities

After we have grant permission to the feature to the appropriate system role, we can use the Add System Role Activities item in the Tools menu in Visual Studio 2010 to bring the feature into the development environment as a workflow activity.

This causes a search screen to appear, and we can search for the system role that supports the workflow. In this sample, the system role we want is named Test Workflow System Role.

After we click Select on the search screen, the feature is added into the toolbox under a tab named Test Workflow System Role and can now used within the workflow designer xamlx.