DeployWorkflowActionWithFeature sample

The DeployWorkflowActionWithFeature sample provides an example of implementing a simple SharePoint 2013 solution package to deploy a custom workflow action.

Overview

The sample represents a SharePoint 2013 solution package, in which a single feature, scoped to a web application, performs the following tasks:

  1. Registers the custom workflow action with Nintex Workflow 2013

  2. Enables the custom workflow action for use with the Workflow designer, within the SharePoint farm

  3. Adds necessary entries in the web.config configuration file for the web application, to authorize the custom workflow activity included with the custom workflow action for use in SharePoint declarative workflows

The custom workflow action included with this sample writes log entries to the SharePoint ULS logs. The folder structure of this sample is driven by the folder structure used by a typical custom workflow action in Nintex Workflow 2013. For more information about creating custom workflow actions, see Creating workflow actions.

The SharePoint solution package project includes a SharePoint feature definition, named DeployActionExample.feature, which handles the deployment of the custom workflow action. The feature uses an event receiver to handle the following events:

See Also

Concepts

Workflow activities

Workflow action adapters

Operations

Working with workflow actions

Working with workflow activities