AddAction

Description

This operation is used to add a custom workflow action into Nintex Workflow. The workflow action must be defined in a XML file with an extension of ‘nwa’. The action will be registered in each content web application ‘web.config’ file as an authorized workflow type.

Usage

NWAdmin.exe –o AddAction –nwaFile pathToNWAFile [-updateIfAdapterExists] [-activateForFarm] [-verifyTypes]

Parameters

Name Description

-nwaFile

Required. The location on the computer of the .nwa file containing the action details to import.

-updateIfAdapterExists

Optional. If the adapter is already registered, specifying this argument causes the values for this adapter to be overwritten with the values in the nwa file. If updateIfAdapterExists is not specified and the adapter does already exist, an error will be returned.

-activateForFarm

Optional. Specifies that the action should be activated on the ‘manage allowed actions’ page for the entire farm when this parameter is provided.

-verifyTypes

Optional. When specified, the classes referenced in the nwa are loaded, causing an error if they cannot be found on the server.