Home > Nintex Workflow 2013 Help and How-to > Workflow Interaction with SharePoint
User Defined Actions


User Defined Actions (UDA) provides the ability to string together a predefined set of multiple workflow actions for workflow designers to use when creating a workflow. The UDA feature is similar to using workflow snippets, however a UDA will allow for Input and Output parameters to be defined which can then be used as a single action within a workflow.

An example of when a UDA might be useful is preconfiguring a web request workflow action and saving it as a UDA which a workflow designer can then drag and drop into their workflow without having to configure any of the settings within the web request workflow action. In addition to that, an input parameter can be defined for a user to provide their credentials for the web request and the output parameter for any values that might be returned by the web request.

Note: Only Site Administrators, Site Collection Administrators and Farm Administrators can manage User Defined Actions.

Managing User Defined Actions

UDA can be defined globally for the farm in SharePoint Central Administration, for a specific site collection or for individual sites.

Note: UDAs must be initially created at a Site level. They can then be used at the:

  • Site Collection Level by Promoting the UDA, OR;
  • Web Farm level by Exporting and Importing the UDA.


To manage UDAs for a site:

 

  1. Navigate to the site home page.
  2. On the top right, click  (Settings), click Nintex Workflow 2013, and then click Manage User Defined Actions

To manage UDAs for the site collection:

  1. Navigate to the top level site home page.
  2. On the top right, click  (Settings), click Nintex Workflow 2013, and then click Manage User Defined Actions.
  3. Click Switch to site collection level settings.

To manage User Defined Actions for the web farm: 

 

  1. On the Central Administration Home page, click Nintex Workflow Management
  2. Click Manage user defined actions.

 



Things to note when using UDAs:

  • For UDAs that have been modified but are currently in use in a workflow, the new settings of the UDA will only be in place once the workflow using the UDA is republished.
  • A UDA containing a disallowed action will still run, but can only be imported if the user importing has rights to use all the workflow actions in the UDA.
  • A UDA has a unique GUID ID. When importing a UDA, if the UDA has the same name but a different unique GUID ID, the UDA can be imported, however if the UDA has been renamed and an existing UDA with the same GUID ID exists, the user will be presented with options to overwrite or create a new UDA.

Create a User Defined Action

To create a UDA for a site:

To create a UDA for a Site Collection:

  • Create the UDA in a site.
  • Once completed, return to the Manage User Defined Actions page at the Site level.
  • Promote the UDA. Refer to the 'Promote User Defined Actions' section below for more information.

To create a UDA for a Web Farm:

  • Create the UDA in a site.
  • Once completed, return to the Manage User Defined Actions page at the Site level.
  • Perform an Export and Import process of the UDA. Refer to the 'Import and Export User Defined Actions' section below for more information.

Modify a User Defined Action 

UDAs for a Site and Site Collection level can be modified. However, UDAs on the web farm level will need to be modified at the site level and re-imported at the site collection level.

Note: To modify a farm-level User Defined Action (UDA), export and import the UDA at the site or site collection level from another farm, update as desired, and then import to the current farm at the farm level. This procedure allows you to overwrite the ID of the existing farm-level UDA.

To modify a UDA:

  • Navigate to the Manage User Defined Actions page.
  • In the Manage User Defined Actions page, select the UDA from the list, click the Modify button 

Delete a User Defined Action

UDAs can be removed from a site, site collection or web farm level.

To delete a UDA:

  • Navigate to the Manage User Defined Actions page.
  • In the Manage User Defined Actions page, select the UDA from the list, click the Delete button. 

Import and Export User Defined Actions

UDAs can be exported and imported.

To import a UDA:

  • In the Manage User Defined Actions page, click the Import button.
  • The Import a User Defined Action dialog will appear.

 

  • Click the Browse button and locate the '.uda' file to import.
  • Click the Import button. The settings page will appear - click Publish.
  • The User Defined Action dialog, with all its settings, should now be listed in the User defined actions list.

To export a UDA:

  • In the Manage User Defined Actions page, select a UDA from the list and click the Export button.
  • The export file will be created and will trigger the file download process in the web browser.
  • Click the Save button and follow the standard procedure for downloading and saving files from the web browser. Consult the web browser documentation for more information on downloading and saving files.

Promote User Defined Actions

This will move the UDA to be managed from the parent scope.  To promote a UDA:

  • In the Manage User Defined Actions page, select the UDA from the list and click the Promote button.
  • In the Confirmation dialog, click the OK button. 
Note: Once a site level UDA has been promoted to the site collection level it cannot be undone. 

Analyze User Defined Actions

This function displays all workflows that currently use the UDA. It provides information such as the Workflow name and Workflow Version that uses the UDA and the version of the UDA it's using.

User Defined Actions